🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49908

Creating a cross-compiler with GCC and BINUTILS

#49908
From: Forrest Aldrich
Date: Sat, 04 Dec 1993 16:23
37 lines
2532 bytes
Thank you to all the people who kindly responded to my initial request 
for assistance.

To be more specific, I'm interested in creating a cross-compiling environment
on my SCO UNIX (soon BSDI) 486 box which will compile for my older m68010
machine.

In reading the INSTALL info from GCC-2.5.6, it appears that this might
not be so difficult afterall.  It mentions sample configure options for
a 386->hp68030.  There was also a word of caution about floating-point.

One question that I still have, too, is regarding the ENDIANess of each
processor.  The 486 is a BIG ENDIAN and the m68010 is a LITTLE ENDIAN
(or the other way around :).  I've received conflicting opinions about
this, but for the most part I was told this wouldn't be a problem.

I intend (will need) to use BINUTILS to create the cross-linker, cross-ar,
cross-assembler, and whatever else.  I'm assuming there will be directions
in that archive for doing this.

Second, I understand that I will need to copy over from the old (target)
machine the header files and certain libraries and such.  One gentleman
had mentioned he hacked at the GNU AS and such to produce correct code
for an atari 680x0... but that was an older version, and the latest 2.2
might not need this.

Does someone have a bit more information that is provided in the INSTALL
file which will guide me to completing this task?  Where to place all
the target machine's files, and how to pass arguments properly to the
cross-compiler and utilities to use /usr/local/TARGET/bin/*.* instead
of the standard system utilities.  Perhaps a working example?

Please respond via email:   forrie@decvax.dec.com
-- 
Forrie Aldrich @ visgraph.UUCP / visgraph!forrie@decvax.dec.com
                                 forrie@decvax.dec.com
VISION GRAPHICS                  forrie@mv.mv.com
Technical Details
Message-ID: <199312041618.AA13526@visgraph.uucp>
Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!uni-paderborn.de!zib-berlin.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2a8ae33ce9349f5f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-04 08:21:21 PST
Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!uni-paderborn.de!zib-berlin.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!not-for-mail
From: forrie@decvax.dec.com (Forrest Aldrich)
Newsgroups: gnu.gcc.help
Subject: Creating a cross-compiler with GCC and BINUTILS
Date: 4 Dec 1993 10:23:07 -0600
Organization: UTexas Mail-to-News Gateway
Lines: 37
Sender: daemon@cs.utexas.edu
Message-ID: <199312041618.AA13526@visgraph.uucp>
Reply-To: <forrie@decvax.dec.com>
NNTP-Posting-Host: news.cs.utexas.edu