* The order of starfile in specs seems to be important.
@ 2005-01-08 9:12 Paul Chavent
0 siblings, 0 replies; only message in thread
From: Paul Chavent @ 2005-01-08 9:12 UTC (permalink / raw)
To: gcc-help
Good morning.
I try to compile a toolchain for arm7tdmi (gameboy) providing
binutils-2.15, gcc-3.4.3 and newlib-1.13.0.
I build it under slackware 9.1 with gcc 3.2.3.
I apply a patch to the sources to provide a start code, linkscript and
syscalls for my target.
The build process go well.
I can use the toolchain and build examples (a simple hello world for
example) with it.
The problem is that the examples don't run on the target. I found one
solution and i wonder if it is the good one.
In the file $(PREFIX)/lib/gcc/$(TARGET)/$(GCC_VER)/specs i switch the
order of the startfiles from :
[code]
*startfile:
crti%O%s crtbegin%O%s crt0%O%s
[/code]
to :
[code]
*startfile:
crti%O%s crt0%O%s crtbegin%O%s
[/code] .
Then every thing go well.
My questions are :
Does the order is important ?
If no, where could be the real problem ?
If yes, can i modify it before compiling gcc (within my patch for
example) ?
Thanks.
Paul.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-08 9:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-08 9:12 The order of starfile in specs seems to be important Paul Chavent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).