From owner-freebsd-current Mon Mar 1 22:14:49 1999 Delivered-To: freebsd-current@freebsd.org Received: from nomad.dataplex.net (nomad.dataplex.net [208.2.87.8]) by hub.freebsd.org (Postfix) with ESMTP id 437B014C1F for ; Mon, 1 Mar 1999 22:14:46 -0800 (PST) (envelope-from rkw@dataplex.net) Received: from localhost (rkw@localhost) by nomad.dataplex.net (8.9.2/8.9.2) with ESMTP id AAA03886; Tue, 2 Mar 1999 00:12:48 -0600 (CST) (envelope-from rkw@dataplex.net) X-Authentication-Warning: nomad.dataplex.net: rkw owned process doing -bs Date: Tue, 2 Mar 1999 00:12:48 -0600 (CST) From: Richard Wackerbarth Reply-To: rkw@dataplex.net To: Manfred Antar Cc: "Jordan K. Hubbard" , dyson@iquest.net, John Polstra , obrien@NUXI.com, current@FreeBSD.ORG Subject: Re: gcc In-Reply-To: <4.2.0.25.19990301191722.00a50100@216.101.162.50> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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