This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs compilation error...


On Tue, 9 Sep 1997, Jim Wilson wrote:

> Date: Tue, 09 Sep 1997 12:59:57 -0700
> From: Jim Wilson <wilson@cygnus.com>
> To: "Timothy A. Chandler" <admin@heavywater.net>
> Cc: egcs@cygnus.com
> Subject: Re: egcs compilation error... 
> 
> I think the problem here is that you have some environment variables set to
> bad values.
> 
> Check all of your environment variables, especially GCC_EXEC_PREFIX, 
> COMPILER_PATH, LIBRARY_PATH, and LPATH.  If any of these have "." in them,
> then the egcs build could fail exactly the way you describe.
> 
> I think it is a mistake to put "." in any one of these paths, since it
> will cause lots of problems trying to use one compiler to build another
> compiler.
> 
> Jim
> 

Ok I checked again for the . in any of my PATH env var settings and none
existed.

I did however add the GCC_EXEC_PREFIX and set it as the complete path
the gnu-cc-2.7.2.3 spec file, and egcs compiled without incident.  It
still puzzles me why gcc was pulling up that ./spec file when it should
not have been.

Thank you all very much for all the help...

-Tim

Please direct questions to:

admin@heavywater.net

Timothy A. Chandler, System Administrator
Deuterium Networks (fathom.heavywater.net)
Email:  admin@heavywater.net



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]