This is the mail archive of the
mailing list for the crossgcc project.
Re: *** Floating Point Unavailable ***
- To: email@example.com
- Subject: Re: *** Floating Point Unavailable ***
- From: Michael Schwingen <firstname.lastname@example.org>
- Date: Fri, 2 Jul 1999 12:18:50 +0200
- References: <377A6090.7F058BC4@objsw.com> <Pine.BSF.email@example.com>
- Reply-To: firstname.lastname@example.org
On Wed, Jun 30, 1999 at 02:29:00PM -0700, C. M. Heard/VVNET, Inc. wrote:
> With older versions (2.7.2 et. seq) of gcc it was possible (at least when
> using gnu-ld) to organize things any way you wanted by writing a linker
> directive file to replace the one that gcc uses by default. Granted, most
> of my experience is with MIPS, but I recall doing similar stuff with ppc
> about two years ago. Is this not still possible?
Yes, I did just that - for an embedded PPC target, I wrote a linker script
that specified my own startup code (which contains stack initialization,
trap vectors etc. and then calls my OS initialization code instead of main).
I don't see why it should be a problem to have machine dependant code in
this startup code - the machine-dependant stuff must go somewhere, and it
must be done after a reset and before calling the first C routine.
Michael Schwingen, Ahornstrasse 36, 52074 Aachen
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
To remove yourself from the crossgcc list, send
mail to email@example.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.