🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50025

(none)

#50025
From: L. J. Caren
Date: Sun, 28 Nov 1993 15:10
38 lines
2131 bytes
Subject: Problems with GAS 68k

Host: i386-sysv3
Version: 1.38

Question 1:
Has anybody managed to build gcc/gas for a 68k?  When I try the
compilier generates assembler identical to a native 68020 cc but the
gas-1.38 a68 seems to expect a totally different syntax. There are at
least 3 fundimental incompatabilities
i) it assumes the size specifier to be part of the opcode. ie addw rather than
add.w ii) it assumes pseudo-ops start with a dot. ie .text rather than text.
iii) if a68 is built with REGISTER_PREFIX=% the local labels of the form L%n
are screwed up. Surely somebody must have built gcc/gas on a 68k.
This seems so fundimental that I assume that it isn't a bug,
what am I doing wrong?

Question 2:
Has anybody re-written gas to use the bfd-2.0 libraries yet?

Question 3:
Since gas doesn't seem to provide a listing option are there any hidden
methods for testing it other than 'suck and see'?

I have been able to build a386 on my i386-sysv3 host and this accepts the
output of the native 386 cc without problem, although it does generate a
a.out-i386 binary rather than the coff-i386 I would have expected
(according to gnu objdump).

Thanks in advance for your time and trouble,


-- 
L. J. Caren  Voice +44 (0) 635 298943
caren-g@lasermoon.co.uk is using a Guest Account provided courtesy of
Lasermoon Ltd, 2a Beaconsfield Road, Fareham, Hants, England. PO16 0QB
+44 (0) 329 826444  Fax: +44 (0) 329 825936
Technical Details
Message-ID: <2cf90121.laser@laser.lasermoon.co.uk>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!lasermoon.co.UK!caren-g

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c2a4b33cd0ab317e,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-28 07:12:49 PST
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!lasermoon.co.UK!caren-g
From: caren-g@lasermoon.co.UK (L. J. Caren)
Newsgroups: gnu.gcc.help
Subject: (none)
Date: 28 Nov 1993 10:10:17 -0500
Organization: Guest of Lasermoon Ltd, 2a Beaconsfield Rd, Fareham, England. 
              PO16 0QB.
Lines: 38
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <2cf90121.laser@laser.lasermoon.co.uk>