compiler search paths

Zack Weinberg zack@rabi.phys.columbia.edu
Wed Apr 1 17:56:00 GMT 1998


On Wed, 01 Apr 1998 16:37:25 -0800, Jim Wilson wrote:
>	Is it possible to set the search paths of -B, -L, -I etc. in the specs
>	file?
>
>It is possible.  It is not recommended.  You should configure and install
>gcc so that the search paths are correct to begin with.

There's a sticky bootstrap problem when trying to arrange a libc6
native compiler when libc6 is installed in some strange location.  I
don't want to break the entire system if devel libc is unstable one
week, so I keep it in a corner of the filesystem.

The goal is to have a compiler driver that can be switched between
libc5 and libc6 with -b options.  A first approximation is available
by editing the specs appropriately and adding some symlinks.  That
compiler can then be used as BOOT_CC to 3-stage a native compiler, but
I don't see how I get out of editing somebody's specs -- there is only
one compiler driver, and it will have one or other set of paths
hardcoded.

Or is there some easy way to do this that I'm overlooking?

zw



More information about the Gcc mailing list