Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 1999 00:12:48 -0600 (CST)
From:      Richard Wackerbarth <rkw@dataplex.net>
To:        Manfred Antar <mantar@pacbell.net>
Cc:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, dyson@iquest.net, John Polstra <jdp@polstra.com>, obrien@NUXI.com, current@FreeBSD.ORG
Subject:   Re: gcc 
Message-ID:  <Pine.BSF.4.05.9903020008370.3727-100000@nomad.dataplex.net>
In-Reply-To: <4.2.0.25.19990301191722.00a50100@216.101.162.50>

next in thread | previous in thread | raw e-mail | index | archive | help
> At 01:28 PM 3/1/99 -0800, Jordan K. Hubbard wrote:
> >It really does appear to be a simple matter of first making egcs "take over"
> >the system compiler:
> >
> ># cd /usr/ports/lang/egcs
> ># make all install PREFIX=/usr
> ># ln -fs /usr/bin/eg++ /usr/bin/c++
> ># ln -fs /usr/bin/egcc /usr/bin/cc
> ># cd /usr/src
> >remove cc from /usr/src/gnu/usr.bin/Makefile SUBDIR list
> >remove libstdc++ and libobjc from /usr/src/gnu/lib/Makefile SUBDIR list

Although this approach works, IMHO, the more appropriate approach
would be to use "${CC}" rather than "cc" in ALL the makefiles and then
define "CC=/usr/bin/egcc"



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903020008370.3727-100000>