Article View: gnu.gcc.help
Article #52767Re: cross compiling gcc-2.1 host=sparc, target=sun3/m68k
From: Brendan Kehoe
Date: Thu, 04 Jun 1992 14:41
Date: Thu, 04 Jun 1992 14:41
26 lines
2003 bytes
2003 bytes
andrew@megadata.mega.oz.au wrote:
>There have been a number of questions about cross-compiling, with
>the most common case being host=sparc target=sun3. We have had
>this configuration operational for a long time, and I thought I
>would give a brief rundown on the way I put it together.
>[...]
>One interesting thing to try would be to build GNU libc 1.03 with
>this environment and see if you could get a complete cross
>compilation system - I haven't had the time to try this.
I've done this, and it works like a charm. I've compiled many things
for the sun3 (all of the GNU *utils packages) on a sparc using this
method. Build them, then just FTP the binaries over and voila, they
work.
>The trickiest bit is the loader. I am not aware if the binutils-1.94
>stuff works OK, but the loader we run here was obtained from
>sprite.berkeley.edu, under cross-ld (or a similar name).
However, I used the GNU ld that's in the binutils 1.94 distribution.
--
Brendan Kehoe, Sun Network Manager brendan@cs.widener.edu
Widener University Chester, PA
In action-oriented shows, TV cops fire their guns in almost every episode;
in Chicago, the average police officer fires a gun once every 27 years.
Technical Details
Message-ID:
<10la3eINNab3@betty.cs.widener.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!hri.com!ukma!widener!not-for-mailReferences:
<352@conan.UUCP> <1992Jun4.044603.28630@megadata.mega.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,44f83b104d1108d4 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-06-04 03:26:28 PST Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!hri.com!ukma!widener!not-for-mail From: brendan@cs.widener.edu (Brendan Kehoe) Newsgroups: gnu.gcc.help Subject: Re: cross compiling gcc-2.1 host=sparc, target=sun3/m68k Message-ID: <10la3eINNab3@betty.cs.widener.edu> Date: 4 Jun 92 14:41:50 GMT Article-I.D.: betty.10la3eINNab3 References: <352@conan.UUCP> <1992Jun4.044603.28630@megadata.mega.oz.au> Organization: Widener University Computer Science Dept, Chester PA Lines: 26 NNTP-Posting-Host: betty.cs.widener.edu