🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6099

problems building mips cross compiler on sparc-solaris

#6099
From: peter
Date: Wed, 27 Nov 1996 00:00
47 lines
2173 bytes
Hi,

I'm trying to get a gcc 2.7.2.1 cross compiler for an embedded MIPS 
target built on my Solaris 2.4 SPARC. I'm using gnu gcc, as, ld...

I configured like this:
configure -target=mips

and I build like this:
make LANGUAGES="c c++"

and things humm along until I get this error:

gcc -DCROSS_COMPILE -DIN_GCC -DSVR4  -g   -o ../cc1plus \
      call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o decl2.o 
error.o gc.o lex.o parse.o ptree.o spew.o typeck.o cvt.o edsel.o except.o 
init.o method.o search.o tree.o xref.o repo.o `cat ../stamp-objlist` 
./c-common.o ../c-pragma.o `if [ xobstack.o != x ]; then echo 
./obstack.o; else true; fi` `case "gcc" in "cc") if [ xalloca.o != x ]; 
then echo ../alloca.o; else true; fi ;; esac` `if [ x != x ]; then echo 
./; else true; fi` 
make[1]: Leaving directory `/home/jeremy/pub/gcc-2.7.2.1/cp'
gcc -c -DCROSS_COMPILE -DIN_GCC -DSVR4  -g     -I. -I. -I./config 
mips-tfile.c
mips-tfile.c:719: mips/a.out.h: No such file or directory
make: *** [mips-tfile.o] Error 1


Help! I can't find an "a.out.h" anywhere in the tree...

Any help on this issue in particular and advice on the MIPS target cross 
compiler in general is greatly appreciated !

Thanks,
Peter

+--------------------------------+
|          Peter Smith           |
|       Xedia Corporation.       |
|       119 Russell Street,      |
|       Littleton, MA 01460      |
|     TEL (508)-952-6000 x143    |
|       FAX (508)-952-6090       |
|     Internet peter@xedia.com   |
|         www.xedia.com          |
+--------------------------------+
Technical Details
Message-ID: <Pine.SUN.3.91.961127084053.311Z-100000@barbados>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,cc2cf6409c47a5b4,start
X-Google-Attributes: gid113d02,public
From: peter@xedia.com
Subject: problems building mips cross compiler on sparc-solaris
Date: 1996/11/27
Message-ID: <Pine.SUN.3.91.961127084053.311Z-100000@barbados>
X-Deja-AN: 201033654
sender: bug-gcc-request@prep.ai.mit.edu
x-sender: peter@barbados
content-type: TEXT/PLAIN; charset=US-ASCII
x-gateway: relay5.UU.NET from bug-gcc to gnu.gcc.bug; Wed, 27 Nov 1996 08:42:18 EST
mime-version: 1.0
newsgroups: gnu.gcc.bug