Date: Fri, 19 Mar 2004 17:06:56 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 49322 for review Message-ID: <200403200106.i2K16u4s037066@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=49322 Change 49322 by peter@peter_overcee on 2004/03/19 17:06:12 another update. note that libstdc++ is the only holdout. Affected files ... .. //depot/projects/hammer/build32.sh#4 edit Differences ... ==== //depot/projects/hammer/build32.sh#4 (text+kox) ==== @@ -1,5 +1,5 @@ #! /bin/sh -# $P4: //depot/projects/hammer/build32.sh#3 $ +# $P4: //depot/projects/hammer/build32.sh#4 $ # # This script is for running on a self-hosted amd64 machine, with an up-to-date # world and toolchain etc. ie: the installed world is assumed to match the sources. @@ -26,9 +26,11 @@ # libncurses needs a build-tools pass first. I wish build-tools was a recursive target. (cd lib/libncurses; make MAKEOBJDIRPREFIX=/tmp/i386 build-tools) -# Now the libraries. This doesn't work for bind and stdc++ yet. hence -k +# Now the libraries. This doesn't work for bind, gnuregex and stdc++ yet. hence -k make -DNOMAN -DNODOC -DNOINFO MAKEOBJDIRPREFIX=/tmp/i386 LIBDIR=/usr/lib32 SHLIBDIR=/usr/lib32 MACHINE_ARCH=i386 CC="cc -m32 -I/tmp/i386/root/usr/include -L/usr/lib32 -B/usr/lib32" CXX="c++ -m32 -I/tmp/i386/root/usr/include/c++/3.3 -L/usr/lib32 -B/usr/lib32" LD="ld -m elf_i386_fbsd -Y P,/usr/lib32" -k libraries +# bind isn't a problem, its an internal no-install lib, so let it fail. +# libstdc++ is a curious one. it looks like "c++ -m32" doesn't work. # Hack to fix gnuregex which does evil hacks to the -I paths. (cd gnu/lib/libregex; make -DNOMAN -DNODOC -DNOINFO MAKEOBJDIRPREFIX=/tmp/i386 LIBDIR=/usr/lib32 SHLIBDIR=/usr/lib32 MACHINE_ARCH=i386 CC="cc -m32 -I/tmp/i386/root/usr/include/gnu -I/tmp/i386/root/usr/include -L/usr/lib32 -B/usr/lib32" CXX="c++ -m32 -I/tmp/i386/root/usr/include/c++/3.3 -L/usr/lib32 -B/usr/lib32" LD="ld -m elf_i386_fbsd -Y P,/usr/lib32" all install)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403200106.i2K16u4s037066>