[Clfs-dev] compiling PPL as of SVN-20090706-x86_64-Multilib

Reimundo Heluani rheluani at gmail.com
Mon Jul 6 07:42:49 PDT 2009


I started two tickets but I'm not sure that was the right place, so just
in case I'm sending this one as well (I guess this might have come twice
then for those in the commit list)

In section 10.14 and 10.15 to compile ppl against GMP one needs to add
the right building flags and the right library places. For 32-bit need
to add 

CPPFLAGS=-fexceptions CXX="g++ -isystem /usr/include ${BUILD32}" 

and for 64-bit also we need to change the lib paths to /usr/lib64. The
whole command should read

CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include ${BUILD64}" \
    CXX="g++ -isystem /usr/include ${BUILD64}" \
    LDFLAGS="-Wl,-rpath-link,/lib64 ${BUILD64}" ./configure --prefix=/usr \
--libdir=/usr/lib64 --enable-shared \
    --with-libgmp-prefix=/usr/lib64 --with-libgmpxx-prefix=/usr/lib64

regards, 

R.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20090706/023f0f52/attachment.sig>


More information about the Clfs-dev mailing list