Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 1999 04:14:13 -0500
From:      Jacques Vidrine <n@nectar.com>
To:        hackers@FreeBSD.ORG
Subject:   Re: __attribute__ ((constructor)) functions & shared libs 
Message-ID:  <199904180914.EAA22349@spawn.nectar.com>
In-Reply-To: <199904180853.DAA22110@spawn.nectar.com> 
References:  <199904180853.DAA22110@spawn.nectar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 April 1999 at 3:53, Jacques Vidrine <n@nectar.com> wrote:
> I'm porting an application that uses ``__attribute__ ((constructor))''
> to give shared libraries initialization functions.  Unfortunately, it
> seems that environ is not yet initialized when these functions are
> called.

BTW, this is the situation on ELF systems only.  a.out systems 
behave as expected.  

Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904180914.EAA22349>