[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: What build variables to respect?
From:       Brad <brad () openbsd ! org>
Date:       1999-04-30 19:59:50
[Download RAW message or body]

programs that use autoconf (configure) almost always respect CC/CXX unless
of course the Makefiles arent using the right CC/CXX passed to them or
have the compiler hardcoded in as gcc/g++ as it the case with a lot of 
programs that dont use autoconf.

// Brad

>
>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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic