Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 17:42:25 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Kent Hauser <kent.hauser@verizon.net>
Cc:        questions@freebsd.org
Subject:   Re: (g)cc and /usr/local
Message-ID:  <20030708224225.GQ87950@dan.emsphone.com>
In-Reply-To: <200307081232.20249.kent.hauser@verizon.net>
References:  <200307081232.20249.kent.hauser@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030708224225.GQ87950>