Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!forwiss.uni-passau.de!unipas.fmi.uni-passau.de!hessmann From: hessmann@unipas.fmi.uni-passau.de (Georg Hessmann) Newsgroups: comp.sys.amiga.tech Subject: Re: Cross-compiler from Sun to Amiga Message-ID: <1990Nov23.150458.23415@forwiss.uni-passau.de> Date: 23 Nov 90 15:04:58 GMT References: <183f0492.ARN0dc0@gpark.pub.uu.oz.au> Sender: usenet@forwiss.uni-passau.de (USENET News System) Organization: University of Passau, Germany Lines: 32 Nntp-Posting-Host: hal.fmi.uni-passau.de In article etxwtg@kk101.ericsson.se (Per-Erik Westerberg TT/UG) writes: >ianr@gpark.pub.uu.oz.au (Ian Rowlands) writes: > > >> Somebody wrote a message about using a version of gcc on a Sun to >>compile Amiga programs. Could that person (or anybody who knows about it) >>please e-mail me? > >Post it to this newsgroup. OK, it's very easy to use a SUN gcc to compile a program for the AMIGA. (If you have the MANX C-Compiler) First, copy your MANX includes to the SUN. Now, compile your program with the gcc. I use the following options: -O -DAMIGA -mc68000 -msoft-float -fstrength-reduce -funsigned-char -I. -I- -I../Include -c gcc searches the <..> includes at ../Include. Than, transform the UN*X object files with the 'sun2manx' program of Markus M. Wild to MANX object files. Copy these files to your AMIGA and link they with the MANX linker. You can get the source of 'sun2manx' with the gcc port of Markus. Distribution: 'gcc00220990.lzh' Georg. -- hessmann@unipas.fmi.uni-passau.de hessmann@unipas.uucp