🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50895

gcc cross compiler problem (was Re: gas cross assembler problem)

#50895
From: Erann Gat
Date: Sat, 24 Jul 1993 04:06
25 lines
1569 bytes
In article <22q3v4$dr2@elroy.jpl.nasa.gov> gat@robotics.jpl.nasa.gov (Erann Gat) writes:
>I'm trying to build gas-2.1.1 as a cross-assembler for the i960.  I do:

I got gas to work (I think) and now I've moved on to gcc.  I do the following:

   configure --host=sun4 --target=i960
   make CC=gcc LANGAUGES=c

It gets to the point where it tries to build libgcc2 and dies with a bunch of
"unknown opcode" messages.  My guess is that it's trying to assemble some
i960 code but it's sending it to the sun assembler rather than the i960
cross assembler.  I tried

   make CC=gcc LANGUAGES=c AS=i960-vxworks-as

but that didn't work.

I am also puzzled by something else.  The cross assembler that I was able
to build produces b.out files.  I know about a.out files, but what's a
b.out file?  Obviously it's some other object file format, but what is it
used for?

Thanks,
Erann Gat
gat@robotics.jpl.nasa.gov
Technical Details
Message-ID: <22qcg0$m3r@elroy.jpl.nasa.gov>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!robotics!gat
References: <22q3v4$dr2@elroy.jpl.nasa.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a2648856385a4173
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-23 21:07:54 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!robotics!gat
From: gat@robotics.jpl.nasa.gov (Erann Gat)
Newsgroups: gnu.gcc.help
Subject: gcc cross compiler problem (was Re: gas cross assembler problem)
Date: 24 Jul 1993 04:06:24 GMT
Organization: Jet Propulsion Laboratory, Pasadena, CA
Lines: 27
Distribution: world
Message-ID: <22qcg0$m3r@elroy.jpl.nasa.gov>
References: <22q3v4$dr2@elroy.jpl.nasa.gov>
NNTP-Posting-Host: 128.149.1.57