Implementing crt lib for arm7
William A. Gatliff
bgat@billgatliff.com
Fri Sep 20 07:35:00 GMT 2002
Che:
On Fri, Sep 20, 2002 at 11:46:35AM +0200, cheyman@scmmicro.fr wrote:
> Hello,
>
> I implemented my own startup code (ie all initialization before main) and I
> don't know how to make my Cygwin environment link it automatically to my
> little hello.c . Any information or help ?
>
> This link seems to be done by collect2.exe. How does it work ? How could I
> configure it ?
You could simply include the name of the startup module on the gcc
command line, add the name of the module's object file to your linker
command file, and/or add the file to your gcc specs file.
HTH,
b.g.
--
Bill Gatliff
Real embedded GNU and embedded Linux training is available.
See http://billgatliff.com for details.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list