This is the mail archive of the 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]
Other format: [Raw text]

Re: [MinGW] Set NATIVE_SYSTEM_HEADER_DIR relative to configured prefix

On Sun, Dec 17, 2006 at 09:47:33AM +0530, Ranjit Mathew wrote:
> On 12/16/06, Bob Rossi <> wrote:
> >On Wed, Jun 07, 2006 at 05:33:56PM +0530, Ranjit Mathew wrote:
> >>
> >> Now that I have things working with an unpatched mainline GCC,
> >> I withdraw my patch that started this discussion.
> >
> >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:
> HTH,
> Ranjit.

Hi Ranjit,

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.

I noticed you said not to congiure gcc with an absolute path, what about
binutils? I definatly configured binutils with one.

Could you please look at my script and tell me what I've done wrong, or
if it should work? I believe I've followed all of your suggestsions, and
still have failures. Specifically, the build I've generated can't find 
'iostream' but it can find 'stdio.h'. I don't know why.

Attached is the build script I used, and the output of the failed make.

Bob Rossi

Description: Bourne shell script

Attachment: gcc-main.cpp.txt
Description: Text document

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