🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52478

gcc cross compiler sparc->sun2

#52478
From: Mark Szymczak
Date: Mon, 20 Jul 1992 05:59
27 lines
1553 bytes

I want to install gcc as a cross compiler from sparc to sun2.
Well not really a sun2 but an embedded mc68010 environment. 

I'm having trouble with the libgcc1.a library. 
This is what I've done.

I ran the configure script with host=sparc and target=sun2. 
This gave me a gcc and cc1 .

I then made gas-1.38 and a loader which was originally obtained 
from sprite.berkeley.edu .  I installed the programs cc1, as and 
ld in the directory $LIBDIR/gcc-lib/sun2/2.2.2 and the 
compiler driver gcc in my bin directory. 

The compiler generates calls to functions to perform 
some arithmetic operations. eg. _modsi3, _mulsf3 , ... , 
which are in the library libgcc1.a .  

Do I need to make the libgcc1.a library on a sun2 machine?
Assuming that the answer to the above question is yes, I think it is , 
and given that I don't have access to a sun2 what can I do? 

Is it possible to configure gcc so that it does not generate 
calls to the functions in libgcc1.a to perform 
arithmetic operations?  
Technical Details
Message-ID: <1992Jul20.055902.1953@werple.pub.uu.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!labtam!eyrie!werple!mark

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,1f054ecf5261b3c5,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-07-19 23:04:36 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!labtam!eyrie!werple!mark
From: mark@werple.pub.uu.oz.au (Mark Szymczak)
Newsgroups: gnu.gcc.help
Subject: gcc cross compiler sparc->sun2
Keywords: cross-compiler
Message-ID: <1992Jul20.055902.1953@werple.pub.uu.oz.au>
Date: 20 Jul 92 05:59:02 GMT
Organization: Werple public-access Unix, Melbourne
Lines: 27