Porting GCC to new target
Dara Hazeghi
dhazeghi@yahoo.com
Fri Nov 14 16:06:00 GMT 2003
--- Savithri Venkatachalapathy <snvpathy@yahoo.com>
wrote:
> Hi,
>
> At this moment I want gcc to just compile and
> generate
> assembly code for the new target machine.
Fair enough. In that case, you don't need libgcc. It
won't build unless you have those other tools, so I'd
just force the build to continue after errors, using
make -k, and later make -k install.
That should give you a cross compiler for you target.
You won't be able to generate programs, but you will
be able to compile source to assembly. In particular,
when you invoke your cross gcc, you'll have to add the
-S options, so it doesn't try to assemble (or link)
the code it generates.
Cheers,
Dara
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
More information about the Gcc-help
mailing list