-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK for 10.7 is missing CRT files #8
Comments
The 10.8 SDK has the same issue. The SDK from here works: https://github.com/AaronWallace/MacOSX_SDKs (the JuliaEichler repo doesn't include 10.8). |
SDK 10.6 has the same issue:
|
Any progress on missing -lctrl1.10.5.o with SDK 10.6 ? |
@submagr None yet, at least on my end. Waiting on parts to get my iMac back up and running. Will investigate this as soon as I can. |
Also 10.9 |
These files are not needed when using clang, only when using GCC. Their missing status is therefore an interesting detail but I don't really see why people care. If you need these files they come with GCC anyway! All they consist of are stubs to libSystem.dylib too FWIW. |
Solved! Just copy |
They are required when using clang, but the binary will still work on 10.8+ systems. If you want to actually run your programs on 10.7 and below, you need the crt files regardless of what compiler you use. |
When I build a statically linked executable, the linker errors out with
That file apparently is copied to /usr/lib inside the SDK if the Xcode command line tools are installed using xcode-select --install.
The SDK from here works: https://github.com/JuliaEichler/Mac_OSX_SDKs
as it includes the crt* files in /usr/lib.
The text was updated successfully, but these errors were encountered: