🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53008

gcc cross-compiling onto 68k machine

#53008
From: Julian Field
Date: Fri, 03 Apr 1992 10:01
33 lines
1763 bytes
Help!

I am trying to get gcc 2.0 running on a m68k-motorola-sysv machine.
To do this, I need to use gcc as a cross-compiler running on an
iris4d.

The configure command line was :
./configure --host=iris4d --target=m68k-motorola-sysv --nfp

The problem is that the cross-compiler generates assembler code
containing divsl.l instructions which the assembler on the motorola
machine will not assemble.

I have tried making the cross-compiler generate 68000 code instead of
68020 code, but then the linker on the motorola says it doesn't know
about functions called, among others, lmul.

There is no configure command that will make the cross-compiler
produce input suitable for gas when the target is set as above.

Is there any way of stopping the cross-compiler using the divsl.l
instruction ?

Any comments and help would be very much appreciated.

Thanks,
Julian.

-- 
Julian Field, MEng.                                 jkf@soton.ac.uk
Department of Electronics           ___   __o       Fax: +44 (703) 592082
University of Southampton          ___    -\<,      Tel: 0703 593826/592774
Southampton SO9 5NH, UK              .....O/ O      Disclaimers? Who needs 'em!
Technical Details
Message-ID: <397.9204031001@chapman.ecs.soton.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ecs.southampton.ac.UK!J.K.FIeld

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a46f7812301d08fd,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-04-03 02:01:40 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ecs.southampton.ac.UK!J.K.FIeld
From: J.K.FIeld@ecs.southampton.ac.UK (Julian Field)
Subject: gcc cross-compiling onto 68k machine
Message-ID: <397.9204031001@chapman.ecs.soton.ac.uk>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 3 Apr 1992 10:01:40 GMT
Lines: 33