Not the case -- at least on SunOS 3.x & 4.x (the CSRG based versions). On those machines, /bin/cc looked in /usr/local/{include,lib} first -- just like gcc did.
Solaris (aka SunOS 5+) is a SVR5 system which had an optional compiler. I don't recall what happened when the vendor compiler was installed -- I always used gcc. On Tuesday 08 July 2003 12:42 pm, you wrote: > In the last episode (Jul 08), Kent Hauser said: > > Why doesn't gcc look in /usr/local/{include,lib} on FreeBSD? It > > always did on my sun box. Installing in "/usr/local" is standard on > > CSRG systems -- why is looking non-standard on FreeBSD? > > Because when you installed gcc on Solaris, it probably installed into > /usr/local/bin, which means it'll search /usr/local/include for > headers. gcc on FreeBSD is the default compiler, is installed in > /usr/bin, and does not search /usr/local/include. I bet if you were to > run Solaris' default cc, it wouldn't search /usr/local/include either. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"