This is the mail archive of the
mailing list for the GCC project.
Re: How to stop GCC from searching for components in --prefix onWindows host?
Ian Lance Taylor wrote:
"E. Weddington" <firstname.lastname@example.org> writes:That might be a way around it; I build in Cygwin (using --host=mingw32
--build=mingw32) so installing it to that location after building won't
be a problem.
I'm certainly not afraid to patch this distribution to take out the
search in --prefix for components as the current searching of PATH (or
whatever it does after searching --prefix) works just fine. My
questions would be: is this a sane thing to do (considering the
problem)? Where would one do this in the code? Is it relatively
localized? and... would this situation be considered a bug? should I
fill out a bug report?
That is a sane thing to do if there is no path which you are certain
exists (how about "/"?).
The code is in gcc/gcc.c; look for calls toThanks for the information.
add_prefix(). It is relatively localized.
I don't personallyWould it be reasonable as an enhancement request, though?
consider this situation to be a bug.