🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51917

Object code for embedded apps

#51917
From: Jon Jenkins
Date: Tue, 09 Mar 1993 05:54
28 lines
1607 bytes
Can anybody help me with the following:

1: Can the current gcc/g++ produce relocatable code
   suitable for embedded apps on non native hosts.
   i.e. if we are using a 68k processor and want to
   develop C++ code on a sparc SUN can we use the g++/gcc
   combo to produce 68k code ?

2: If so what about the linking phase, can we use the 
   linker to produce romable code or is there a post processor
   to do this ? and a myriad of other questions like how do
   we direct the output to specific locations (an anathema in UNIX)
   is relocation supported, how to produce COFF/HEX files etc etc etc

3: Do the above answers apply to all the gnu supported platforms
   i.e. 386/486, MIPS, i860 etc etc

   perhaps someone who has done this can communicate privately
   If I get lots of requests I will publish a summary

				thanks in adavnce

Name:		Dr Jon Jenkins
Physical:	1 Thomas Holt Drive, North Ryde, 2113, AUSTRALIA
Phone:		(02) 805-2961
Fax:		(02) 805-2929
ACSnet:		jonj@research.canon.oz.au
Technical Details
Message-ID: <C3LxrK.K5D@research.canon.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!mama!jonj

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,88fd92318c9dec3d,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-09 08:17:04 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!mama!jonj
From: jonj@research.canon.oz.au (Jon Jenkins)
Subject: Object code for embedded apps
Message-ID: <C3LxrK.K5D@research.canon.oz.au>
Originator: jonj@elvis
Keywords: Object ROM
Sender: news@research.canon.oz.au
Organization: Canon Information Systems Research Australia
Date: Tue, 9 Mar 1993 05:54:55 GMT
Lines: 28