This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

egcs-1.1.2 powerpc cross-compiler question.


I've tried building egcs-1.1.2 as a powerpc-eabi cross compiler and a
powerpc-linux cross compiler.  I had instructions from the LinuxPPC web
site on building the powerpc-linux cross compiler.  The configure
command was "configure --target=powerpc-linux --with-newlib".  The only
difference between my setup and the instructions on the web site is that
I am using the FULL egcs-1.1.2 source where as the instructions were for
the CORE egcs-1.1.2 source.  I want to use C and C++ so I used the full
distribution.  The error message I am getting looks like its related to
the objective C build which I don't need but I am interested in trying
it one day.  The errors are:

egcs-1.1.2/gcc/objc/runtime.h:31 stdio.h: No such file or directory
egcs-1.1.2/gcc/objc/runtime.h:31 ctype.h: No such file or directory

I did not have these problems building the native linux build of
egcs-1.1.2.  It obviously knows how/where to find the appropriate
headers.

How can I get the objc build to find the appropriate header files ?
Can I just delete the gcc/objc directory to avoid building objc ?

The CONFIGURE file in the INSTALL directory says that if you use
--enable-languages=c++ then the other languages will be omitted.  I
tried that but I still get the above error messages indicating that the
objc compiler is trying to be built.

Thanks,
Brendan Simon.

PS. The other difference I had to the LinuxPPC howto, is I included
--program-prefix=powerpc-linux- when building egcs and binutils.  Will
egcs have a problem finding the correct binutils with this option ?
Would --exec-prefix help to solve this, if this is a problem ?

Brendan.

_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.