[install] need to install 32 bit boost libraries on amd64 system
Hi all - Is it possible to build 32 bit boost libraries on amd64? When I try, I get complaints (errors) saying that pointers aren't the right size. I already have boost installed in /usr/lib64, but I need the 32 bit libs in /usr/lib32. I'm running the gentoo distribution, so a trick to build via emerge or a trick to build via tarball/configure would be great. Thanks for any help, Brian
Brian Budge wrote:
Hi all -
Is it possible to build 32 bit boost libraries on amd64? When I try, I get complaints (errors) saying that pointers aren't the right size.
I already have boost installed in /usr/lib64, but I need the 32 bit libs in /usr/lib32.
I'm running the gentoo distribution, so a trick to build via emerge or a trick to build via tarball/configure would be great.
Thanks for any help, Brian
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
If you're using GCC (gcc/g++), try adding '-m32' to the compile and link flags (CPPFLAGS & LDFLAGS). That should compile/link 32 bit on AMD 64.
participants (2)
-
Brian Budge
-
Larry Smith