🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54372

GCC sparc to 68010 crosscompiler

#54372
From: Thomas J. Trebisky
Date: Wed, 14 Nov 1990 21:30
29 lines
1906 bytes
Newsgroups: gnu.gcc.help
Subject: Using GCC on a SPARC to cross-compile for 68010 target
Summary: 
Expires: 
References:
Sender: ttrebisky@as.arizona.edu
Followup-To: 
Distribution: 
Organization: University of Arizona, Tucson, AZ
Keywords: GCC 68010 crosscompiler


Some time ago there were several inquiries about using GCC on a sparc
to produce code to run on a 68010 target.  I have been doing this quite
nicely for several months, and went thru the process of setting the whole
thing up -- if there is interest, contact me and I can dig out my notes
and send modified makefiles, sources, ...
If there is interest this could be posted as well??

One item of note, this uncovered a bug in gnu-ld. Running on the sparc
it would core-dump with an address error. It turned out that the code to
handle address relocation was trying to access the code image on addresses
that were illegal on the sparc, but would have been fine on a m68k platform.
I can provide additional details if anyone wants them.

A closing note: a big round of applause to the FSF and creator(s) of gcc,
this compiler *really* produces good code (IMHO). I say this having seen
the xxx.s output from a lot of C compilers. Even without optimization I am
flat impressed!
Technical Details
Message-ID: <452@organpipe.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!snorkelwacker.mit.edu!usc!elroy.jpl.nasa.gov!ncar!noao!amethyst!organpipe!astro.as.arizona.edu

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9fac02607bc28cca,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1990-11-14 13:30:20 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!snorkelwacker.mit.edu!usc!elroy.jpl.nasa.gov!ncar!noao!amethyst!organpipe!astro.as.arizona.edu
From: tom@astro.as.arizona.edu (Thomas J. Trebisky)
Newsgroups: gnu.gcc.help
Subject: GCC sparc to 68010 crosscompiler
Message-ID: <452@organpipe.UUCP>
Date: 14 Nov 90 21:30:20 GMT
Sender: news@organpipe.UUCP
Distribution: gnu
Organization: University of Arizona, Tucson, AZ
Lines: 29
Posted: Wed Nov 14 22:30:20 1990