>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 info"
screen, go to the Build tab and scroll down.
In the "header Search Paths" you specify /opt/local/include. (If the
binary/library
-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 t
vr8ce wrote:
>
> OS X 10.5.6, Macports 1.7, gcc 4.0.1 from Xcode 3.1.2
>
> The FAQ address why Macports installs its own libraries, etc. I have the
> opposite question, and I read the FAQ and tried searching a couple of
> months of maillist archives and couldn't find it. My apologies if I miss
On Jan 13, 2009, at 03:32, Neil wrote:
My .bash_profile :
# Add MacPorts directories, if they exist.
if [ -d /opt/local ]; then
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
export C_INCLUDE_PATH=/opt/local/include
e
On Sat, Jan 10, 2009 at 12:17 PM, Joshua Root wrote:
> Vince Rice wrote:
>> OS X 10.5.6, Macports 1.7, gcc 4.0.1 from Xcode 3.1.2
>>
>> The FAQ address why Macports installs its own libraries, etc. I have the
>> opposite question, and I read the FAQ and tried searching a couple of months
>> of m
Vince Rice wrote:
> OS X 10.5.6, Macports 1.7, gcc 4.0.1 from Xcode 3.1.2
>
> The FAQ address why Macports installs its own libraries, etc. I have the
> opposite question, and I read the FAQ and tried searching a couple of months
> of maillist archives and couldn't find it. My apologies if I mis
Vince Rice wrote:
> My question is what I have to do to my gcc setup to get it to "see"
> the Macport installed libraries (not just popt, but any other
> libraries I might download). I've tried adding the -I and -L's to the
> gcc command, and the popt.h is found, but it complains about the
> librar