Trying to compile dyld

I'm trying to compile the open source dyld-360.18, using its xcode project. Has anybody outside Apple had success doing that?

Besides numerous missing includes which have to be copied from various places in Apple's open source repos, the source also references _simple_getenv, which doesn't seem to be defined anywhere, including in the latest _simple.h which was previously a part of Apple's open source libc.

Perhaps _simple.h has moved from libc into the "internal" OS X SDK, the one set by default in the xcode project to build the dyld target. Any chance it could be added to the open source repos?

I know this isn't strictly Kernel, if there's a better place to post this, please advise.

Thanks!

Dan

_simple_getenv
has moved to libplatform, which is not open source )-:

Any chance it could be added to the open source repos?

You’ll have to take that up with the Apple open source folks.

I know this isn't strictly Kernel, if there's a better place to post this, please advise.

The Apple open source folks have an email address listed on their main page.

Most open source discussion happens on the various

darwin-***
mailing lists.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

For _simple_getenv specifically this old version of it is probably good enough https://opensource.apple.com/source/libplatform/libplatform-161/src/simple/getenv.c.auto.html

Trying to compile dyld
 
 
Q