liberty-eiffel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Liberty-eiffel] Bug #44601


From: Paolo Redaelli
Subject: Re: [Liberty-eiffel] Bug #44601
Date: Mon, 28 Mar 2016 17:15:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0

Il 28/03/2016 14:58, Mehul Sanghvi ha scritto:
> Using that command gets me the following:
>
>
> % ../smarteiffel-germ/c2c-germ -cc gcc compile_to_c
> ****** Fatal Error: Unknown feature `clang' in type SYSTEM_TOOLS. (For
> this call, the target is the implicit non written `Current' which is
> of type SYSTEM_TOOLS.)
>
> Line 510 column 104 in SYSTEM_TOOLS
> (/usr/local/src/liberty-eiffel/src/smarteiffel/kernel/system_tools.e):
>                if c_compiler = gcc or else c_compiler = gpp or else
> c_compiler = distcc or else c_compiler = clang then
>                                                                      
>                                                                      
>                        ^        
gcc distcc are just string variables defined in SYSTEM_TOOLS_CONSTANTS
(s rc/smarteiffel/kernel/system_tools_constants.e )
You may add

 clang: STRING "clang"

there. By the way it recognizes compiles such as dice and SAS/C which I
haven't seen in - literally - decades.
Perhaps it would be wiser - but it's not this the time to do it - to
clean up things a little....



reply via email to

[Prev in Thread] Current Thread [Next in Thread]