🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #73420

Re: GCC cross compiling support

#73420
From: Brent Burton
Date: Thu, 19 Sep 1991 17:57
20 lines
1875 bytes
In article <1991Sep18.195946.5472@cs.sfu.ca> strom@cs.sfu.ca (Strom Beadle) writes:
>Can anyone tell me if the new version of 'gcc', V2.0, will support
>generating code for target processors other than the host platform?

GCC doesn't "know" what type of machine it is running on.  Therefore, cross
compiling has been available in past versions.  (For example, I have an AT&T
3b1 machine with gcc on it.  I could copy my 3b1-configured sources to
my host and create a compiler for my machine.  However, to make a complete
executable I'd have to upload copies of my libraries, linker, and assembler/gas
but this would violate AT&T license business.)

Another example is in the past issues of Dr. Dobbs' Journal.  Back in January
or so they started the series on porting BSD to the 386.  They used gcc on a
host system as a cross compiler for the 386.  (If you are interested in the
details of porting an OS, I suggest this series - I enjoyed it).

------------------------------------------------------------------------------
Brent P. Burton, N5VMG                                    Computer Sci/Physics
brentb@cs.tamu.edu                                        Texas A&M University
------------------------------------------------------------------------------
Technical Details
Message-ID: <3616@tamsun.TAMU.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!unidui!math.fu-berlin.de!ira.uka.de!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!tamsun!tamuts!n138ct
References: <1991Sep18.195946.5472@cs.sfu.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,26c97b58eafc619b
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-09-20 17:09:06 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!unidui!math.fu-berlin.de!ira.uka.de!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!tamsun!tamuts!n138ct
From: n138ct@tamuts.tamu.edu (Brent Burton)
Newsgroups: gnu.misc.discuss
Subject: Re: GCC cross compiling support
Message-ID: <3616@tamsun.TAMU.EDU>
Date: 19 Sep 91 17:57:08 GMT
References: <1991Sep18.195946.5472@cs.sfu.ca>
Sender: news@tamsun.TAMU.EDU
Organization: Texas A&M University
Lines: 20