Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 1998 21:59:15 -0500
From:      Glenn Johnson <gljohns@bellsouth.net>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: specifying compiler for "make world" 
Message-ID:  <199804120259.VAA14816@gforce.bellsouth.net>
In-Reply-To: Your message of "Fri, 10 Apr 1998 23:31:48 PDT." <Pine.BSF.3.96.980410233132.28437a-100000@gdi.uoregon.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
-- 
Glenn Johnson
gljohns@bellsouth.net



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



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