Using isysroot
Using isysroot
- Subject: Using isysroot
- From: Bryan Christianson <email@hidden>
- Date: Mon, 29 Oct 2007 22:42:30 +1300
- Ironport-content-filter: send-to-smtp
On 10.5 I am getting a link error when compiling a simple hello.c
program against the 10.4 SDK.
This problem also occurs in the simple test programs that are used in
complex configure scripts and is a bit of show-stopper.
What other options should I be specifying for this to work?
#include <stdio.h>
int main() {
printf("hello world\n");
return(0);
}
$ gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk/ -o hello hello.c
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
--
Bryan Christianson
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden