Problems building gcc-2.95 as cross compiler.

David Korn dkorn@pixelpower.com
Mon Feb 12 02:50:00 GMT 2001


>In < 718D38CAB6E0D011B2C90060970C28A5642694@EXCHANGESERVER >,
>David Korn wrote:
>
>> >$ cd gcc
>> >$ make mips-tfile
>> >
>> >gcc -c -DCROSS_COMPILE -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. 
>> >-I../../gcc-2.95/gcc -I../../gcc-2.95/gcc/config 
>> >-I../../gcc-2.95/gcc/../include ../../gcc-2.95/gcc/mips-tfile.c
>> >../../gcc-2.95/gcc/mips-tfile.c:673: mips/a.out.h: No such 
>> >file or directory
>> >*** Error code 1
>> 
>>   You have got your target headers installed, haven't you?
>
>gcc-2.95/gcc/config/mips is full of headers, but no a.out.h.
>I think that's the only one missing.

  Nonono, that's not what I meant.  Those headers come with the compiler.
What you need are the actual headers that come with the native compiler
for the machine, or possibly the newlib or glibc headers; it depends.
  What kind of MIPS system are you building for, one running a full O/S,
or an embedded system?  Does it have a native compiler and C runtime
library available for it ?

     DaveK
-- 
we are not seats or eyeballs or end users or consumers.
we are human beings - and our reach exceeds your grasp.
                    deal with it.                      - cluetrain.org 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the Gcc-help mailing list