This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: *** Floating Point Unavailable ***


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.

cu
Michael
-- 
Michael Schwingen, Ahornstrasse 36, 52074 Aachen
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]