Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
environ variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

environ variable

For Darwin, autoconf recognizes the "environ" variable. However, "environ" is in /usr/lib/crt1.o, but not in/usr/lib/bundle1.o, nor in /usr/lib/dylib1.o. As a consequence, you might end up with an error when trying to build dynamically linked shared libraries or loadable bundles.

ld: Undefined symbols:

This is especially annoying when porting from UNIX or GNU. I feel either autoconf should change or /usr/lib/dylib1.o and /usr/lib/bundle1.o. Any opinions or comments ?


Adriaan van Os
darwin-development mailing list | email@hidden
Do not post admin requests to the list. They will be ignored.

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.