• 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
Using isysroot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Using isysroot
      • From: "Sean McBride" <email@hidden>
    • Re: Using isysroot
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: My Xcode Project Won't Compile 32-Bit
  • Next by Date: [Fwd: Re: Using isysroot]
  • Previous by thread: Re: My Xcode Project Won't Compile 32-Bit
  • Next by thread: Re: Using isysroot
  • Index(es):
    • Date
    • Thread