Current-Users archive

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

Re: Building PCC for "tools" is broken (missing symbol __USE)- PCC bug or NetBSD source tree error?



On Sun, Jul 20, 2014 at 09:38:55AM +0100, Iain Hibbert wrote:
 > one problem is that pcc is defining __GNUC__ by default, so although it
 > may be possible with an ANSI C or C99 compiler, the sources might assume
 > that GCC language features are available and they are not complete.

Compilers that are not GCC should not do that unless they're really
going to be 100% compatible. It just buys trouble, and it's much
easier (particularly in base, but even in pkgsrc) to go patch things
that assume all non-gcc compilers are prehistoric.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index