[Fwd: Re: Using isysroot]
[Fwd: Re: Using isysroot]
- Subject: [Fwd: Re: Using isysroot]
- From: "eric.bachard" <email@hidden>
- Date: Mon, 29 Oct 2007 11:42:42 +0100
Ooops,
Sorry, I answered Bryan instead of the list :-/
Regards,
Eric Bachard
--
qɔᴉɹə
--- Begin Message ---
- Subject: Re: Using isysroot
- From: "eric.bachard" <email@hidden>
- Date: Mon, 29 Oct 2007 11:05:56 +0100
Hi,
Bryan Christianson a écrit :
On 10.5 I am getting a link error when compiling a simple hello.c program against the 10.4 SDK.
I got the same issues building OpenOffice.org on Leopard, targeted for
Tiger
This problem also occurs in the simple test programs that are used in
complex configure scripts and is a bit of show-stopper.
Indeed. Same situation here.
What other options should I be specifying for this to work?
same question -: )
And I confirm something is plain wrong, or I missed the same information
than you maybe ...
$ 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
Same here :-/
From my side, I have tried :
gcc -Wall -DLDFLAGS="-Wl,-syslibroot,/Developer/SDK/MacOSX10.4u.sdk/" \
-D"MACOSX_DEPLOYMENT_TARGET=10.4" -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -o hello -test.c
unsuccessfully , means same error. I tried replacing LDFLAGS with
CFLAGS, LINKFLAGS too btw ..
Thanks for any hint
--
qɔᴉɹə
--- End Message ---
_______________________________________________
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