How to add a compile time configuration option to something in cpukit?
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Sep 3 12:30:02 UTC 2009
Joel Sherrill wrote:
> Sebastian Huber wrote:
>> Ralf Corsepius wrote:
>>
>>> On 09/03/2009 12:18 PM, Sebastian Huber wrote:
>>>
>>>> Hi,
>>>>
>>>> the FTP client resides in the cpukit. It can use gethostbyname() to
>>>> obtain an
>>>> internet address from a DNS name. The dependency on DNS adds 35k of
>>>> code
>>>> (THUMB op-codes). I want to add a configuration option to disable this
>>>> feature. Can I add this with RTEMS_CPUOPT in cpukit/configure.ac?
>>>>
>>> As I repeatedly wrote, before: All -m* flags must be global (i.e. *.cfg)
>>>
>>> What you are trying to do violates the working principles of multilibs,
>>> so no way.
>>>
>>
>> Sorry now I am a little confused. What is the connection to multilibs
>> if I can
>> enable or disable DNS support in the FTP client?
>>
>>
> Everything under cpukit is intended to be compiled one
> way using only multilib options and all configuration
> is to be done via application link time configuration
> options.
>
> Yes.. I know there are a few compile time options. If
> you know how to turn those into link time options,
> they can disappear also.
>
> The ftpd DNS option is straightforward to implement as a
> application link time plugin.
>
Ok, I will use a link time mechanism for the FTP client.
--
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