🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49730

Can GCC produce sun3 (M 680x0) code ?

#49730
From: Amanul Haque
Date: Mon, 13 Dec 1993 14:50
27 lines
1919 bytes
Does GCC support a directive similar to "-target sun3" found on sun's compiler?
I am running Solaris 2.x on a Sun classic and have gcc 2.5.6. I need to be 
able to produce sun3 code. First I tried -mc68020 option but the compiler
said "invalid option c68020"; than I tried "-b mc68020" but that did not 
produce sun3 code.

Then,I tried building a cross compiler but did not get very far; I could not 
build libgcc for the target machine (sun3) because I do not have access to 
a sun3 :( 

ALso, will "configure --host=sun-sparc-solaris2 --target=sun-sparc-solaris2 \
--target=m68k-sun3" generate configurations for a compiler that can 
produce code for both solaris 2.x and sun3 (I am hoping this will generate 
a compiler that will support the -mc68020 option, which is equivalent to 
"-target sun3" option on sun compilers)? 

Any suggentions will be greatly appreciated. I will summarize if necessary.
Where can I get a copy of the FAQ? I just joined the mailing list

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Amanul Haque, Eaton Corporation, 2433 Rutland Dr.,Austin, TX, USA.
Voice: (512) 873-2722, FAX: (512) 837-3691, ADNET: 520-2722
Email: ahaque@etnsed.com

Bug : 1) Small living thing that small living boys throw on small living girls.
      2) An undocumented feature.
Technical Details
Message-ID: <9312131434.AA15899@etnsed>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!cis.ohio-state.edu!eng.etnsed.COM!xhaque

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7a6a81a67ec8bbd9,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-13 11:08:47 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!cis.ohio-state.edu!eng.etnsed.COM!xhaque
From: xhaque@eng.etnsed.COM (Amanul Haque)
Newsgroups: gnu.gcc.help
Subject: Can GCC produce sun3 (M 680x0) code ?
Date: 13 Dec 1993 09:50:06 -0500
Organization: GNUs Not Usenet
Lines: 29
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9312131434.AA15899@etnsed>