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

Joe Ciccone jciccone at gmail.com
Mon Jul 6 07:51:55 PDT 2009


Reimundo Heluani wrote:
> 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
>   
I'm working on a similar issue in the cross-tools & tools section right
now. When I get to the final system I'll look at this.

Thanks for the heads up.
Joe



More information about the Clfs-dev mailing list