$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Larry Smith (larry.i.smith_at_[hidden])
Date: 2006-11-24 16:14:56
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_at_[hidden]
> http://listarchives.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.