How to get the multi-lib options of a RTEMS installation

Gedare Bloom gedare at rtems.org
Fri Feb 10 14:53:17 UTC 2012


On Fri, Feb 10, 2012 at 3:24 AM, Ralf Corsepius
<ralf.corsepius at rtems.org> wrote:
> On 02/10/2012 08:53 AM, Sebastian Huber wrote:
>>
>> On 02/10/2012 08:37 AM, Sébastien Bourdeauducq wrote:
>>>
>>> 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
>>
>>
>> Thanks, this is exactly the option I was looking for.
>>
> This is the flags->dirs mapping I was talking about.
>
> The inverse mapping is invalid.
>
So does iterating over all those flags build multilibs of libfancy
that matches all the available cpukit multilibs?

> Ralf
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list