selecting the right target...

Phil Blundell pb@nexus.co.uk
Wed Dec 19 03:02:00 GMT 2001


>The "flat" binary format we use with uclinux does not have the .init and
>.fini sections so all these global_[cd]tors support routines can go
>away. 

Are you sure you don't want this stuff?  As far as GCC is concerned 
arm-uclinux is really an ELF target; the fact that you post-process the
binary into flat form doesn't matter much.  I can't think of any particular
reason why constructors wouldn't work.

p.



More information about the Gcc mailing list