This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
What is the right way to initialize GLibc?
- From: Steven Stewart-Gallus <sstewartgallus00 at mylangara dot bc dot ca>
- To: libc-help at sourceware dot org
- Date: Fri, 14 Mar 2014 23:13:40 +0000 (GMT)
- Subject: What is the right way to initialize GLibc?
- Authentication-results: sourceware.org; auth=none
Hello,
Suppose I'm experimenting with making an executable shared library
like GLibc itself is. I can get something simple like that working but
I want to do more and to do that I need to initialize libc. I think
the right way to do this is to call __libc_start_main manually in my
libraries start function but I don't know how to do that. What is the
right way to initialize GLibc?