Re: Keeping two different versions of GTK+ on the same system.

Behdad Esfahbod <behdad cs toronto edu> wrote:

> Mix this with yours:
> GCCOPTS="-mcpu=pentium4 -march=pentium4 -g"
> export CC="gcc $GCCOPTS"
> export CXX="g++ $GCCOPTS"
> export PATH="$HOME/bin:$PATH:$HOME/script"
> export LD_WARN=yes
> export CPPFLAGS="-I$HOME/include $CPPFLAGS"
> export CFLAGS="-I$HOME/include $CFLAGS"
> export CXXFLAGS="-I$HOME/include $CXXFLAGS"
> export LDFLAGS="-L$HOME/lib $LDFLAGS"
> export LIBS="-L$HOME/lib $LIBS"
> export PKG_CONFIG_PATH="$HOME/lib/pkgconfig:$PKG_CONFIG_PATH"
> export PYTHONPATH="$HOME/lib/python:$HOME/lib/python2.3/site-packages:$PYTHONPATH"
> In particular, you lack the CFLAGS and LDFLAGS part.

Behdad, it worked *fine*. Thanks! :) But I'd like to understand
it: Why Should I change the CFLAGS and LDFLAGS? I thought pkg-config
made that to me.

Thanks in advance,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]