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

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Feb 10 07:53:23 UTC 2012


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.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list