Am Sonntag, 13. Januar 2008 20:59:40 schrieb Ken Moffat: > Boost is "interesting" - it uses its own build system (bjam), but > fortunately there is a version shipped with it: > cd tools/bin/src && ./build.sh gcc && cd ../../../ > > For gcc-4.2.2, and perhaps for 4.1, that needs a patch - I got the > link from cblfs: > http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=22;filename=boost.diff;att >=1;bug=367825 > > I'm not sure how much of the patch is actually needed. I'm fairly > sure the changes to make1.c are mandatory, and probably native.c, > newstr.c, but the addition of -fno-strict-aliasing to the jam files > might not be necessary. Well, the patch is really needed. But I think, the important part is the -fno-strict-aliasing part. If you build bjam without the patch, you get an unusable binary, which quits with a segfault.
-- Christoph
signature.asc
Description: This is a digitally signed message part.
-- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
