>From what I understand is that you want to do this from within XCode. In that case it is very simple. In XCode double-click your target. You will get the "target <app name> info" screen, go to the Build tab and scroll down. In the "header Search Paths" you specify /opt/local/include. (If the binary/library specifies a subfolder below include, mention that one or use the "recursive" flag) In the "Library Search Paths" you specify /opt/local/lib. Note: XCode already searches the system wide include and lib directories. you only need to specify the extra "non standard" paths.
Harry 2009/3/6 David P. Henderson <dp.chaoswe...@gmail.com> > -L/opt/local/lib/ -lpopt > > On 05 Mar 2009, at 19:53, Mark Turner wrote: > > I see that /opt/local/lib has libpopt.a, libpopt.la, and >>> libpopt.0.0.0.dylib, which is similar to the other libraries. I didn't >>> think I needed to specify "-L libpopt", but that gcc automatically added >>> the lib prefix to the library. But, just in case, I tried adding it >>> myself, but that didn't work, either. >>> >>> An example command line of something I'm trying to compile: >>> gcc -g -O2 -o src/ascii/ascii src/ascii/ascii.o -l/opt/local/lib/libpopt >>> >> > -- > "Suburbia is where the developer bulldozes out the trees, then names the > streets after them." > -- Bill Vaughn > > > > > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users