Restricting with Multilib

Mohamed Shafi shafitvm@gmail.com
Thu Mar 8 07:01:00 GMT 2012


Hi,

For the target that i am porting needs a cpu command line option i.e
it doesn't have a default option. Currently it takes 3 variant, say
cpu1, cpu2, cpu3.

So when i enable multilib option

MULTILIB_OPTIONS = mcpu=1/mcpu=2/mcpu=3

I get the following libgcc variants:

cpu1/libgcc
cpu2/libgcc
cpu3/libgcc
libgcc

That includes i variant for each cpu and a default version. Is there
any way to restrict GCC from building the default version?

Regards,
Shafi



More information about the Gcc mailing list