2019-11-23 00:09 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002617Buildsystem[All Projects] Generalpublic2019-08-01 10:35
ReporterMichael Shigorin 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platforme2kOSlinuxOS Versionsisyphus
Summary0002617: [PATCH] add lcc compiler detection
Descriptionnetsurf 3.8 "as is" fails to detect Elbrus C Compiler (an EDS-based one).
Steps To Reproduce$ make TARGET=gtk PREFIX=/usr
[...]
Unable to detect toolchain
Additional Information$ cc --dumpspecs
lcc: ошибка: не указаны входные файлы
$ cc --version
lcc:1.21.24:Dec--7-2017:e2k-v3-linux
gcc (GCC) 4.8.0 compatible

The attached patch works for me.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
Attached Files
  • patch file icon netsurf-3.8-alt-e2k.patch (422 bytes) 2018-09-18 12:59 -
    --- netsurf-3.8/buildsystem/makefiles/Makefile.tools-orig	2018-09-18 09:06:30.622701434 +0000
    +++ netsurf-3.8/buildsystem/makefiles/Makefile.tools	2018-09-18 09:48:46.539300996 +0000
    @@ -369,6 +369,11 @@
         endif
       endif
     
    +  ifeq ($(findstring lcc:,$(ccvsn)),lcc:)
    +    # MCST LCC pretends to be gcc
    +    toolchain := gcc
    +  endif
    +
       # "Norcroft ..."
       ifeq ($(word 1,$(ccvsn)),Norcroft)
         toolchain := norcroft
    
    patch file icon netsurf-3.8-alt-e2k.patch (422 bytes) 2018-09-18 12:59 +

-Relationships
+Relationships

-Notes
Daniel Silverstone

~0002047

Daniel Silverstone (administrator)

Thank you, I have applied your patch to our git. It will be present in the next release.
+Notes

-Issue History
Date Modified Username Field Change
2018-09-18 12:59 Michael Shigorin New Issue
2018-09-18 12:59 Michael Shigorin File Added: netsurf-3.8-alt-e2k.patch
2019-08-01 10:35 Daniel Silverstone Status new => resolved
2019-08-01 10:35 Daniel Silverstone Resolution open => fixed
2019-08-01 10:35 Daniel Silverstone Note Added: 0002047
+Issue History