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]

RE: can't link with crtend.o



Thanks!


I've tried linking with libstdc++, but it did not help.

Does any of you know the format for the global constructor tables? This way I can write a routine myself to go through the array and call constructors...


From: Martin Schaffner <schaffner@gmx.li>
To: crossgcc@sources.redhat.com
Subject: RE: can't link with crtend.o
Date: Thu, 26 Feb 2004 22:19:24 +0000

You can compile c++ programs with gcc.

Thanks for suggestion, though... I've tried using g++ but it had made no difference.

That was new to me... but I now see that the linker errors can be resolved by adding -lstdc++ to the command line.
Thanks, I learnt something new today!


Martin


------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



_________________________________________________________________
Get fast, reliable access with MSN 9 Dial-up. Click here for Special Offer! http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/



------ 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]