multiple versions of libgcc.a

Ian Lance Taylor iant@google.com
Fri Nov 6 00:57:00 GMT 2009


"nagaraju.m" <nagaraju.m@redpinesignals.com> writes:

>    Can any one please help me how to create multiple versions of
> libgcc.a library.
>
>    My requirement is I to need to have a default libgcc.a that is
> created by some (XYZ.s) file   and another libgcc.a library that is
> created with other (ABC.s) file and this libgcc.a library should be
> invoked whenever I use -maddr32 option in my compiler.

Look for the various MULTILIB options here:

http://gcc.gnu.org/onlinedocs/gccint/Target-Fragment.html

Ian



More information about the Gcc-help mailing list