How to get the multi-lib options of a RTEMS installation
Sébastien Bourdeauducq
sebastien at milkymist.org
Fri Feb 10 07:37:47 UTC 2012
On 02/10/2012 04:05 AM, Ralf Corsepius wrote:
> On 02/09/2012 05:44 PM, Sebastian Huber wrote:
>> Is there a why to get the GCC options which were used to generate these
>> multi-libs?
> No. That's not how multilibs work.
>
> The multilib directories are gcc internal default library search-paths,
> GCC switches to when it finds certain combinations of flags in the
> CFLAGS/LDFLAGS being passed to it.
>
> I.e. there is a "multilib options" -> "multilibdir" transformation,
> but there is no reverse transformation.
Seems there is:
$ lm32-rtems4.11-gcc -print-multi-lib
.;
mmultiply-enabled;@mmultiply-enabled
mbarrel-shift-enabled;@mbarrel-shift-enabled
mmultiply-enabled/mbarrel-shift-enabled;@mmultiply-enabled at mbarrel-shift-enabled
mmultiply-enabled/mbarrel-shift-enabled/mdivide-enabled/msign-extend-enabled;@mmultiply-enabled at mbarrel-shift-enabled@mdivide-enabled at msign-extend-enabled
See http://airs.com/ian/configure/configure_8.html#SEC55
Sébastien
More information about the users
mailing list