[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] how to get putenv from glibc compiled?
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] how to get putenv from glibc compiled? |
Date: |
Sat, 08 Oct 2011 11:29:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 |
Hi Jürgen,
I'm not sure I understand this question?
putenv is supported by glibc, you'd need to call this library functions
from a C program.
If you want to set en environment variable you should be able to do this
from the she with
SOMEVAR=xxx
export SOMEVAR
Please give some more detail of what you're trying if this does not help.
Regards, Stuart
On 07/10/11 14:48, Lambrecht Jürgen wrote:
> Hello,
>
> I need 'putenv' (so busybox-dhcpc can pass the ntp server IP to the ntp
> client) on my target.
> Putenv is in glibc, but in my built, it is not present.
>
> Does anybody know which options to enable (do I need e.g. libc static
> libraries CONFIG_PKG_LIBC_WANT_STATIC_LIBS)?
>
> Kind regards,
> Jürgen
>