How to stop GCC from searching for components in --prefix on Windows host?

Geoffrey Keating geoffk@geoffk.org
Wed Sep 22 20:46:00 GMT 2004


"E. Weddington" <ericw@evcohs.com> writes:

> Hello!
> 
> I regularly build GCC for the AVR target on a Windows host
> (--host=mingw32) usually with some configured --prefix=X. The binary
> toolset is redistributed to other users who typically don't install it
> in X. There have been some problems where X on the build machine is on
> a particular drive, and on the install machine X is on a drive with
> removable media, then GCC sometimes craps out and doesn't properly
> locate all the components. Is there some way to get GCC to *not*
> search for components in the configured prefix, but preserve its other
> search rules?

GCC should already be looking in places based on its location first.
This is necessary for correct behaviour if you have one version of GCC
installed in $prefix and a different version with the same prefix
installed somewhere else.



More information about the Gcc mailing list