🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46575

Re: Q:Anytools for converting as68K to gcc?

#46575
From: John E. Clark
Date: Wed, 09 Nov 1994 18:32
39 lines
2275 bytes
In article <MIKE.94Nov8124340@kodiak.vlsivie.tuwien.ac.at> mike@vlsivie.tuwien.ac.at (Michael Gschwind) writes:
+In article <39k1a7$39v@hpscit.sc.hp.com> chia@rose.hp.com (Chialin Lu) writes:
+
+   Hi,
+      I am currently working on a project that includes lots of gcc code and 
+      about to integrate a large amout of as68k assembly code. I have a couple
+      of ways of doing that: either convert the as68k assembly to gcc assembly 
+      or convert the as68k object file to gcc object file so that they can be
+      linked together. Are there tools out there that can either of these
+      conversion easily? 
+
+
+You might want to check out the GNU BFD libraries - they offer a good
+infrastructure to add this kind of capabilities to linkers...

If 'as68k' is close to MOTOROLA standard assembly syntax, then a 
tool found in the BSD-4.4-lite(whatever) distribtution may help in
converting the source from MOTOROLA to GAS/MIT syntax.

the path is:

src/sys/arch/m68k/fpsp/asm2gas

from the BSD-4.4 'root' for the source directory tree. 'asm2gas' is a
sh script which transforms the mot into gas.

As an added item. the 'fpsp' is a version of the needed routines to
make a MC68040 work with floating point operations that were found
on the MC68881/2 FPU chips.

So, not only does this include a tranlator, but also a software package
that for the MC68040 was a sort point. Motorola should have just made
it available in the first place, but originally they charged for it.

A full BSD-4.4 source distriubtion can be gotten from:

sun-lamp.cs.berkeley.edu

or mirror sites.
Technical Details
Message-ID: <39r4jc$ov7@news.cerf.net>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!news.cerf.net!nic.cerf.net!synergy
References: <39k1a7$39v@hpscit.sc.hp.com> <MIKE.94Nov8124340@kodiak.vlsivie.tuwien.ac.at>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,95f9ce9ec5d1209a
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-11-09 10:32:12 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!news.cerf.net!nic.cerf.net!synergy
From: synergy@nic.cerf.net (John E. Clark)
Newsgroups: gnu.gcc.help
Subject: Re: Q:Anytools for converting as68K to gcc?
Date: 9 Nov 1994 18:32:12 GMT
Organization: CERFnet Dial n' CERF Customer
Lines: 40
Message-ID: <39r4jc$ov7@news.cerf.net>
References: <39k1a7$39v@hpscit.sc.hp.com> <MIKE.94Nov8124340@kodiak.vlsivie.tuwien.ac.at>
NNTP-Posting-Host: nic.cerf.net