🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #5079

Re: M68000 Code to be generated using C on the NeXT

#5079
From: Charles William Swiger
Date: Mon, 15 Feb 1993 12:12
22 lines
2158 bytes
Excerpts from netnews.comp.sys.next.misc: 15-Feb-93 M68000 Code to be
generated.. by sam r. thangiah@plains.N 
> Here is my problem.  I am in need of a C compiler that can generate m68000
> code that can be assembled by the AVOCET assembler that I have.  I have
> been tinkering around with GNU C but I am not getting anywhere.  Any help
> on how I can accomplish this task, either by using GNU C or purchasing a
> commercial C compiler would be highly appreciated.

Try "cc -S -m68000 <c-files>".  This should output a set of .s files
(assembly language) for each .c file input.  I am not absolutely certain
that the -m option will sucessful limit the assembly output to *strict*
68000 opcodes.  You might have to look through and convert any newer
opcodes into their older equivalents.

-Chuck


Charles William Swiger -- CMU...*crunch*! | "Foosh.  Aaughh!!"
------------------------------------------+ "Foosh.  Aauuggghh!!"
AMS & normal mail:        infidel@cmu.edu | "Cold spray deodorant...."
Failing that:        cs4w+@andrew.cmu.edu |
NeXTmail:   chuck@mon.slip.andrew.cmu.edu |  -- Opus, Bloom County [RIP]
Technical Details
Message-ID: <0fTsX6600WB=MZSaEg@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cs4w+

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,91e5ade98e8c2c1e
X-Google-Attributes: gid11318c,public
X-Google-Thread: feb3e,91e5ade98e8c2c1e
X-Google-Attributes: gidfeb3e,public
X-Google-Thread: 1035b6,91e5ade98e8c2c1e
X-Google-Attributes: gid1035b6,public
X-Google-Thread: f9256,91e5ade98e8c2c1e
X-Google-Attributes: gidf9256,public
X-Google-ArrivalTime: 1993-02-15 05:11:23 PST
Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cs4w+
Newsgroups: comp.sys.next.misc,comp.sys.next.programmer,gnu.gcc.help,comp.sys.m68k
Message-ID: <0fTsX6600WB=MZSaEg@andrew.cmu.edu>
Date: Mon, 15 Feb 1993 07:12:54 -0500 
From: Charles William Swiger <infidel+@CMU.EDU>
Subject: Re: M68000 Code to be generated using C on the NeXT
In-Reply-To: <C2H6nz.I2w@ns1.nodak.edu>
Distribution: usa
Lines: 23