Re: Porting GCC to new target

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

 



--- Savithri Venkatachalapathy <snvpathy@xxxxxxxxx>
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

[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