I'm trying to add my source files to a Xcode GNU Make project.
I did what the Xcode docs say about adding a generic makefile to a
project, except that there is a difference in the G++ commands that
are executed in terminal and what xcode does during a build.
Terminal:
g++ -O2 -D_GNU_SOURCE -D_REENTRANT -I/sw/include -c -o
BerkeleyDbObj.o BerkeleyDbObj.cpp
Xcode:
g++ -O2 -D_GNU_SOURCE -D_REENTRANT -c -o BerkeleyDbObj.o
BerkeleyDbObj.cpp
So I conclude that it ignores the paths I set.
I tried adding them -I/sw/include -L/sw/lib to the OTHER_CFLAGS
options in the target properties, didn't help.
Anyone have some advice on making a GNU Make project build correctly
using Xcode 2.1?
Thanks
Erick
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners