🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50089

Crosscompiling for MC68000

#50089
From: Peter Aagaard Favrholdt
Date: Mon, 22 Nov 1993 14:50
41 lines
2135 bytes
Hello, ...again (<-for those of you who have read my previous postings).

I'm currently writing an operating system i C for a small autonomous
guided vehicle equipped with a MC68008-based computer.

For this purpose I use gcc and a sun 3 workstation.

The problem is: I need the initial library for gcc. This library
contains some basic functions for doing arithmetic with integers,
long-integers etc. It's called libgcc1.a.
This library was compiled with the native C-compiler on the
sun: `cc'.

Therefore libgcc1.a contains MC68020-specific instructions.

I have tried to compile libgcc1.a on various C-compilers including the one
on my Amiga, but they just calls some other library-function which is well
hidden away (on the Amiga its given as a offset to a dynamic library, and
as I have an Amiga 4000/040, it's probably of no use anyway).

I do not believe that I'm the only one who have ever developed code for
a MC68000 using gcc.

So please: help me if you have these functions implemented in MC68000
assembly, or know of a way I can compile this library *without* getting
anything but MC68000-instructions in it.

The best thing would be a clean MC68000-compiler for the UNIX-environment
which outputs a.out-object-files. If I only had one of those...


ANY help will be wonderful,


Best regards

Peter Favrholdt
-- 
******************************
** Email: pfavr@imada.ou.dk **
******************************
Technical Details
Message-ID: <1993Nov22.145038.3400@imada.ou.dk>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!emory!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!sunic!uts!imada!pfavr

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,db99bac15f56fca5,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-22 07:27:34 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!nigel.msen.com!emory!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!sunic!uts!imada!pfavr
From: pfavr@imada.ou.dk (Peter Aagaard Favrholdt)
Subject: Crosscompiling for MC68000
Message-ID: <1993Nov22.145038.3400@imada.ou.dk>
Sender: news@imada.ou.dk (USENET News System)
Nntp-Posting-Host: idun
Organization: Dept. of Math. & Computer Science, Odense University, Denmark
Date: Mon, 22 Nov 1993 14:50:38 GMT
Lines: 41