From owner-freebsd-questions Sat Apr 11 20:54:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA09639 for freebsd-questions-outgoing; Sat, 11 Apr 1998 20:54:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gforce.bellsouth.net (host-209-138-35-47.msy.bellsouth.net [209.138.35.47]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA09622 for ; Sat, 11 Apr 1998 20:54:07 -0700 (PDT) (envelope-from glenn@bellsouth.net) Received: from gforce.bellsouth.net (localhost [127.0.0.1]) by gforce.bellsouth.net (8.8.8/8.8.8) with ESMTP id WAA13786; Sat, 11 Apr 1998 22:51:28 -0500 (CDT) (envelope-from glenn@gforce.bellsouth.net) Message-Id: <199804120351.WAA13786@gforce.bellsouth.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Doug White cc: freebsd-questions@FreeBSD.ORG From: Glenn Johnson Subject: Re: specifying compiler for "make world" In-reply-to: Your message of "Fri, 10 Apr 1998 23:31:48 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Apr 1998 22:51:26 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Fri, 10 Apr 1998, Glenn Johnson wrote: > > > Now I realize that doing a "make world" with egcs or gcc-2.8 is probably > > asking for trouble, but how would I specify to the make file(s) that I want to > > use a different compiler? Thanks. > > And Doug White Replied: > > A shot in the dark guess -- set the CC variable? > Well, I should have mentioned that I tried that. When cc1 is executed however, it goes back to /usr/libexec/cc1, which is associated with /usr/bin/cc. I noticed that the top-level Makefile of /usr/src defines GCC_EXEC_PREFIX and COMPILER_PATH variables. I tried playing with these but could not get the desired behavior. I just wanted to try out the -mpentiumpro flag with egcs which probably won't help much anyway, it was just an experiment. Thanks. ------------------------------------- After I sent this I cleaned out my obj tree, I had the NOCLEAN flag set, and now it works. Sorry for the wasted bandwidth. -- Glenn Johnson gljohns@bellsouth.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message