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

Re: What build variables to respect?




no, its USE_EGCC to use EGCS (egcc) instead of gcc and USE_EGXX to use
EGCS (eg++) instead of g++, though I think it should be changed to just
USE_EGCS.

without respecting CC or CXX then there is no way for the port to know to
use egcc/eg++ over gcc/g++

// Brad

>Christian Weisgerber wrote:
>> 
>> What build variables should be respected by a port?
>> PREFIX, of course. What else?
>
>- CFLAGS?
>
>Bad idea IMHO, for example if someone has CFLAGS="-ansi -Wall -ggdb" (classic for a developer)
>it will makes fail all ports that use inline for example (unless they catch it in the configure).
>
>- CC?
>
>Not much choice here :-) Since egcs should be totally compatible with gcc why not. But since the
>next gcc will be egcs the choice will disappear soon, so why bother supporting that.
>
>If someone wants to build a port using egcs he can always do :
>
>make USE_EGCS=yes