🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51135

GCC portet to M68000 - Register name Problems

#51135
From: schwager_d_1293
Date: Sat, 03 Jul 1993 17:14
35 lines
1661 bytes
Hi all,

i try to build a software-development platform for my Motorola MC68332
(MC 68020 Code) microcontroller board under linux.

I decide to use the GCC-2.4.5 and GAS-2.1.1 configured with following options:

	GCC: 	configure --target=m68k-altos --host=i486-linux --nfp 
		--with-gnu-as --with-gnu-ld --prefix=/usr/diplom/work/gcc68k
		--local-prefix=/usr/diplom/work/gcc68k/include 

	GAS:	configure linux -target=m68k-coff --nfp


the files compiled fine and the first test with the xgcc runs fine too.
The problem, which occurs is, that the output Assembler file (.s) looks like
	
	   :	
        addql #1,d0
        moveq #9,d1
        cmpl d0,d1
        jge L5
        unlk a6
    	  :

but the assembler requires a prefix '%' to all register
(a0..., d0..., sp -->  %a0..., %d0..., %sp). Does somebody know i which way i
can fix this problem ??

I thinks, is is very easy to solve....


Tschau and thanks in advance vor your help 

Danny
Technical Details
Message-ID: <SCHWAGER.93Jul3181405@azu.informatik.uni-stuttgart.de>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!cs.tu-berlin.de!mailgzrz.TU-Berlin.DE!news.dfn.de!news.belwue.de!ifi!schwager

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,609792ab977f6435,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-03 09:59:28 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!cs.tu-berlin.de!mailgzrz.TU-Berlin.DE!news.dfn.de!news.belwue.de!ifi!schwager
From: schwager@azu.informatik.uni-stuttgart.de (schwager_d_1293)
Subject: GCC portet to M68000 - Register name Problems
Message-ID: <SCHWAGER.93Jul3181405@azu.informatik.uni-stuttgart.de>
Sender: news@informatik.uni-stuttgart.de
Organization: Informatik, University of Stuttgart, Germany
Distribution: gnu
Date: Sat, 3 Jul 1993 17:14:05 GMT
Lines: 35