This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |