Date: Fri, 19 Mar 2004 16:55:39 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 49319 for review Message-ID: <200403200055.i2K0tdOI033936@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=49319 Change 49319 by peter@peter_overcee on 2004/03/19 16:55:27 hack around libgnuregex bogusness Affected files ... .. //depot/projects/hammer/build32.sh#2 edit Differences ... ==== //depot/projects/hammer/build32.sh#2 (text+kox) ==== @@ -1,5 +1,5 @@ #! /bin/sh -# $P4: //depot/projects/hammer/build32.sh#1 $ +# $P4: //depot/projects/hammer/build32.sh#2 $ # # 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. @@ -7,7 +7,12 @@ # # Its purpose is to build a 32 bit library set and a ld-elf32.so.1. +# XXX beware.. some of the library targets have no way to disable +# XXX installation of includes. ie: it will re-install some files in +# XXX /usr/include for you. + # Set up an obj tree +chflags -R noschg /tmp/i386 rm -rf /tmp/i386 # and a place to put the alternate include tree into. @@ -24,6 +29,8 @@ # Now the libraries. This doesn't work for bind 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 +(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) + # and now that we have enough libraries, build ld-elf32.so.1 cd libexec/rtld-elf make -DNOMAN -DNODOC -DNOINFO PROG=ld-elf32.so.1 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 -DCOMPAT_32BIT" LD="ld -m elf_i386_fbsd -Y P,/usr/lib32" objhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403200055.i2K0tdOI033936>
