[MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix

Bob Rossi bob_rossi@cox.net
Sun Dec 17 18:27:00 GMT 2006


On Sun, Dec 17, 2006 at 09:09:16PM +0530, Ranjit Mathew wrote:
> On 12/17/06, Bob Rossi <bob_rossi@cox.net> wrote:
> >> >Did you ever create a script that makes a relocatable gcc on mingw that
> >> >was built nativly?
> >>
> >> The workarounds that finally worked for me at the time (around June/July
> >> of this year) for getting a native GCC (C/C++) for MinGW on MSYS are
> >> listed in the "Building a Native Compiler" section of:
> >>
> >>  http://rmathew.com/articles/gcj/bldgcj.html#ngcc
> >
> >Thanks for the reply. I actually used this site in the first place, to
> >get as far as I did. I wonder if the gcc-4.1 snapshot doesn't work. Of
> >course, I may have messed something up.
> 
> You're not using "/mingw" as the value for "--prefix". I remember
> stuff not working because of this, though I cannot be sure if that
> indeed is the problem here.

Duh! OK, I'll try that change. Do I need to do this for binutils also?
Do I even need to build binutils? The only reason I am, is because you
did it on your web page when cross compiling.

Bob Rossi



More information about the Gcc-patches mailing list