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:
_environ

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 ?

Regards,

Adriaan van Os
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.