multiple versions of libgcc.a

View: New views
2 Messages — Rating Filter:   Alert me  

multiple versions of libgcc.a

by nagaraju.m :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

    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.


    Please help me out...

Thanks in advance
Nagaraju M
 
   




Re: multiple versions of libgcc.a

by Ian Lance Taylor-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"nagaraju.m" <nagaraju.m@...> 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