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