2018-10-23 06:55 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002617Buildsystem[All Projects] Generalpublic2018-09-18 13:59
ReporterMichael Shigorin 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
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 13: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 13:59 +

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2018-09-18 13:59 Michael Shigorin New Issue
2018-09-18 13:59 Michael Shigorin File Added: netsurf-3.8-alt-e2k.patch
+Issue History