On Thu, Feb 07, 2002 at 01:00:19AM -0800, Terry Lambert wrote:
> Max Khon wrote:
> > please calm down. seems that you have never installed gcc from ports.
> > 
> > gcc 2.95 from ports is installed as gcc295/g++295
> > and correctly gets its bits from /usr/local/lib/gcc-lib/xxx,
> > gcc 3.0x from ports is named gcc30/g++30 and so on.
> > There is no PATH issue. Switching between compilers is as easy as
> > setting correct CC/CXX environment/Makefile variables.
> And hacking the Makefile a lot to specify command line
> arguments in the compiler program definition itself, so
> that the /usr/include/g++ files that came with the old
> compiler are not used for "make release" and other types
> of make targets where DESTDIR is fairly mandatory.

Terry, we only support building the world (ie, anything in /usr/src) with
the *SYSTEM* compiler.  If you are wanting to do:

    cd /usr/src
    make CC=FOOcc CXX=FOO++ buildworld

Then you are going off into the "not-supported woods" and you should
expect to have to do some hacking.

If you are wanting to use /usr/share/mk for your own projects, then that
is also a debatable issue.  Some claim /usr/share/mk is only for use of
/usr/src; others feel it should be generic and truely usable for other
code.  If you have some well tested patches to fix the assumptions in
/usr/share/mk, we might can change things.  


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to