Building a Gcc cross-compiler for a new system (init not working)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am working on a cross-compiler for gcc for a system (os) I am
creating. Everything is fine, except for the fact that initialization
routines (_init and others related to it) just don't work. I have
followed the guide here (http://wiki.osdev.org/OS_Specific_Toolchain)
and I am using newlib. I am looking for some guidance to get the
initialization routines working.
I have tried adding crti.o and crtn.o to extra_parts, but have had no
luck with that. I tried looking at other parts that had init routines
(like rtems), but I couldn't make sense of them.
I also read http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.1/gccint/Initialization.html
This helped out some, but still confused me.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux