Re: xcodebuild library search path bug?
Re: xcodebuild library search path bug?
- Subject: Re: xcodebuild library search path bug?
- From: Drew McCormack <email@hidden>
- Date: Wed, 9 Jun 2004 21:00:35 +0200
To follow up my own post, in the hope that it may help someone someday,
I resolved the problem below by explicitly including a build style on
the command line. I don't think this should be necessary, but it fixed
the problem:
xcodebuild -buildstyle Deployment
I was also partially to blame, because I had library paths set in the
build styles, which were being ignored because I overrode these in the
target (with the wrong paths). Even so, when I corrected this, I still
got the error sometimes. Sometimes it would work, and sometimes it
would fail. Odd. Seems like a bug.
Anyway, I think setting the build style does fix it.
Drew
On Jun 4, 2004, at 9:47 AM, Drew McCormack wrote:
I am trying to build a project with Xcode 1.2 from the command line,
but it seems to ignore some of my library search paths. If I compile
in the GUI, it works fine. Here is the library search path (for both
development and deployment styles)
"$(SYSTEM_APPS_DIR)/Absoft/lib" "$(SRCROOT)/../../../OFILES"
"$(SRCROOT)/../../../bin/TclTk/lib" /usr/X11R6/lib
If I issue xcodebuild on the command line (with or without 'install'),
I get this
/usr/bin/gcc-3.3 <snip>
-L/Users/cormack/adfversions/adftrunk/Install/macosx_absoft/ADFGUI/
build -L/Applications/Absoft/lib <snip> -ladfview -lalapack -ltc
-lU77 -lf77math -lf90math -ltcl8.4 -lablas -ltk8.4 -lX11.6.2 -lfio
-framework Cocoa -arch ppc -prebind -Wl,-no_arch_warnings -framework
Foundation
ld: can't locate file for: -ladfview
What I note here is that the first entry in the search path is
honored, and appears, but everything else is ignored.
Anyone got any ideas? Is this a bug, which should be reported?
Drew
========================================
Dr. Drew McCormack (Kmr. R153)
Afd. Theoretische Chemie
Faculteit Exacte Wetenschappen
Vrije Universiteit Amsterdam
De Boelelaan 1083
1081 HV Amsterdam
The Netherlands
Email email@hidden
Web www.maniacalextent.com
Telephone +31 20 44 47623
Mobile +31 6 483 21307
Fax +31 20 44 47629
_______________________________________________
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.
---------------------------------------------------------
Drew McCormack
www.maniacalextent.com
_______________________________________________
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.