🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #365

Re: cross compiling 386 code on SUN or AIX boxes

#365
From: H.J. Lu
Date: Thu, 03 Sep 1992 21:22
24 lines
1310 bytes
In article <1992Sep3.085818@se05.wg2.waii.com>, dla@se05.wg2.waii.com (Doug Acker) writes:
|> Has anyone tried this?  I built gcc fine on a SUN and rs6000 box...and tried 
|> to make the cross-compiler ... but I fail when I try to compile toplev.c ..
|> TARGET-DEFAULTS are wrong ...  I'm using xmi386dos.h and i386.h ...
|> 
|> -- 
|> Douglas L. Acker
|> 
|> Western Geophysical Exploration Products
|> Systems Engineer
|> 
|> Email (internal):  acker                Phone:  713-964-6128
|>       (Internet):  acker@wg2.waii.com

You need the source codes of ld, ar and as for 386. I am doing this
everyday. I just do

gcc -b i386-linux

to make binaries for Linux which is a Unix clone for 386.

H.J.
----
gcc/libc maintainter for Linux 
Technical Details
Message-ID: <1992Sep3.212229.23186@serval.net.wsu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!ogicse!cs.uoregon.edu!nntp.uoregon.edu!news.u.washington.edu!serval!poly2!hlu
References: <1992Sep3.085818@se05.wg2.waii.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!ogicse!cs.uoregon.edu!nntp.uoregon.edu!news.u.washington.edu!serval!poly2!hlu
From: hlu@poly2.eecs.wsu.edu (H.J. Lu)
Newsgroups: gnu.gcc.help
Subject: Re: cross compiling 386 code on SUN or AIX boxes
Message-ID: <1992Sep3.212229.23186@serval.net.wsu.edu>
Date: 3 Sep 92 21:22:29 GMT
Article-I.D.: serval.1992Sep3.212229.23186
References: <1992Sep3.085818@se05.wg2.waii.com>
Sender: hlu@poly2 (H.J. Lu)
Organization: Washington State University
Lines: 24