This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: multiple versions of libgcc.a
- From: Ian Lance Taylor <iant at google dot com>
- To: "nagaraju.m" <nagaraju dot m at redpinesignals dot com>
- Cc: "gcc-help\ at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 05 Nov 2009 16:56:46 -0800
- Subject: Re: multiple versions of libgcc.a
- References: <4AF2B7C5.3030406@redpinesignals.com>
"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