Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Linker path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linker path



28L;56L;84L
;112L;140L;168L;196L;224L;252L;280L;308L;336L;I'm sure this has been
answered here before, but I don't remember. I have a project that needs
to link against a c library (named liboffline_OSX.a) that I built using
gcc from the command line. I have it in my PB source list (and I've
tried the Frameworks folder), and in the target settings it shows up
under frameworks and libraries. However when I try to compile I get the
error <x-tabsto
ps>/u
sr/bin/ld: can't locate file for: -loffline_OSX <x-ta
bstops>28L;56L;84L;112L;140L;168L;196L;224L;252L;280L;308L;336L;</para
m>and the link command does not show the full path, just
"-loffline_OSX". So I seem to have a path problem with just the link
phase. How do I convince the linker to find my library?

Thanks in advance,




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.