• 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
Re: newbie q: Static library in /usr/lib not being seen?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie q: Static library in /usr/lib not being seen?


  • Subject: Re: newbie q: Static library in /usr/lib not being seen?
  • From: "Justin C. Walker" <email@hidden>
  • Date: Sun, 19 Feb 2006 10:51:06 -0800


On Feb 19, 2006, at 10:38 , Dan Caugherty wrote:

D. Walsh wrote:

What am I missing here? Why can't/won't Xcode or gcc-4.0 find / usr/lib/libnet.a ?
try placing a copy in /Developer/SDKs/MacOSX10.4u.sdk/usr/lib

Thanks! That did the trick.

For my next question: How can I override -isysroot to avoid this foolishness
in the future (and is this a Good Thing (tm) to do)?

What foolishness?

You are using an SDK to build, which means, by definition, that you want to build against headers and libraries from the SDK, *not* the system on which the build occurs.

It's not clear what you are trying to accomplish, but if you only want to build to run on the version of the system on which you are building, don't do a cross-build.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
  when you don't get what you want.
--------



_______________________________________________
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


References: 
 >Re: newbie q: Static library in /usr/lib not being seen? (From: Dan Caugherty <email@hidden>)

  • Prev by Date: Re: newbie q: Static library in /usr/lib not being seen?
  • Next by Date: Debug Information not visible in Xcode
  • Previous by thread: Re: newbie q: Static library in /usr/lib not being seen?
  • Next by thread: Debug Information not visible in Xcode
  • Index(es):
    • Date
    • Thread