SDK 10.5 on XCode 4.1
SDK 10.5 on XCode 4.1
- Subject: SDK 10.5 on XCode 4.1
- From: Leonardo <email@hidden>
- Date: Thu, 15 Sep 2011 16:13:24 +0200
- Thread-topic: SDK 10.5 on XCode 4.1
Hi,
I need to build using SDK 10.5. I work on Lion and XCode 4.1 Build 4B110.
Is a way to do that? Actually I get a lot of error, and I can't compile.
For example I get the error:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/stdarg.h:4:25: error: stdarg.h:
No such file or directory
But the file exists. Same error for the file Float.h and Xmmintrin.h
I set:
Architecture 32-bit Intel
Base SDK Mac OS X 10.5
Valid Architectures 1386 x86_64
Compiler "GCC 4.2" or "Apple LLMV compiler 2.1" or "LLMV GCC 4.2"
As suggested by a colleague I did on Terminal:
cd /Developer/usr/llvm-gcc-4.2/bin
sudo ln -s
/OldDevelopers/Developer3.0/usr/llvm-gcc-4.2/bin/powerpc-apple-darwin10-llvm
-g++-4.2 powerpc-apple-darwin10-llvm-g++-4.2
cd /Developer/usr/libexec/gcc/darwin/
sudo ln -s /OldDevelopers/Developer3.0/usr/libexec/gcc/darwin/ppc ppc
Any solution?
Regards
-- Leonardo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden