Re: How are we supposed to build Libc?
On 30 sept. 2016, at 17:16, Jeremy Huddleston Sequoia wrote:
Given the output below, it looks like you're building it against the DevSDK (the SDK installed to / when you install the Xcode Command Line Tools package) because there is no -isysroot command line argument. At minimum, you should be building it against an SDK that matches the OS that it came with.
There's nothing to "run" so Build & Run doesn't really make sense. I suggest you start from the command line like:
xcodebuild -sdk macosx -target libsystem_c.dylib
Noted.
You may run into issues due to internal headers being included (sys/_pthread/_pthread_types.h isn't such a case, it's in /usr/include). If that's the case, you'll want to fix that up yourself either by grabbing the internal headers out of other OSS packages or disabling that functionality in Libc.
Will try on a 10.11.5 system as on 10.12, the command line call results in 1,267 errors at build. Thanks. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre