This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
building gcc
- From: "Dave Murphy" <wintermute2k4 at ntlworld dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 5 Feb 2004 07:20:31 -0000
- Subject: building gcc
hi,
I've been building gcc for a couple of embedded targets using powerpc and
arm.
could anyone advise me on the best way to go about adding a custom
linkscript and crt0 for the machines I'm targetting. I believe I need to add
some things to the specs file to specify these at link time but I'm not sure
of the correct way to do this.
I'd also like to know what the correct method is for allowing global
constructors. Is crt0 supposed to drop through the init sections before
reaching main rather than calling main directly as so many people seem to do
when customising gcc for a specific target.
Dave