• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Fwd: Re: Using isysroot]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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

  • Follow-Ups:
    • Re: [Fwd: Re: Using isysroot]
      • From: H M <email@hidden>
  • Prev by Date: Using isysroot
  • Next by Date: Developer Tools Reference Library (adcdocsets.atom)
  • Previous by thread: Re: Using isysroot
  • Next by thread: Re: [Fwd: Re: Using isysroot]
  • Index(es):
    • Date
    • Thread