This is the mail archive of the gcc@gcc.gnu.org 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]

Re: linux->i686-pc-pe compiler won't build libiberty



> I would agree if, there had been an error message stating that an
> include file was missing.

Except it wasn't missing - it found it, but not where it should have
found it.  You need to do two things - first, find out where gcc is
looking (and perhaps fix that), and second make sure the files it
needs are there.

> Are you saying that there might be a platform specific io.h file, to
> pick a file out of the air, and that the non-platform specific file
> is getting picked up?

Sort of.  It looks like it's picking up the native headers, not the
target headers.  There are no "non-platform specific" headers.

1. What did you specify for --prefix?  Does it match the system
   include?

2. Did you configure with just --target, or something else?

3. Did you try "./xgcc -v ...", which tells you where it's looking?

4. How about "./xgcc --print-search-dirs" ?  Does it look reasonable?

5. "./xgcc -v" may tell you how it was configured.


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