Re: Intermediate Library Targets
Re: Intermediate Library Targets
- Subject: Re: Intermediate Library Targets
- From: Kevin Grant <email@hidden>
- Date: Sun, 22 Feb 2004 10:58:25 -0600
I have a project that consists of several libraries and an executable.
The libraries are shared, and the executable needs to link against
them to be built. I have targets for the libraries, and they seem to
build correctly. I have dragged the libraries from the Product group
to the Libraries build stage of the executable, but when the
executable builds, I get a message saying: "Can't find file for
-L<library>, where <library> is the name of an intermediate library.
No amount of fiddling with the library search path has yielded any
success with getting it to link against the library. What am I doing
wrong?
Would you mind posting the GCC and/or ld command lines that are
generated? You can find this in the build window, in the bottom half
where raw output from commands is displayed. This command line usually
shows pretty clearly whether Xcode didn't generate the
required/expected command options, etc.
The "-L<library>" is suspicious, because this shouldn't be a library;
it should be a directory that contains a library. The "-l" option is
used to link libraries themselves...
Thanks,
Kevin G.
http://homepage.mac.com/kmg/
mail to kevin at ieee dot org
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.