PERFORCE change 49321 for review
Peter Wemm
peter at FreeBSD.org
Fri Mar 19 17:03:53 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=49321
Change 49321 by peter at peter_overcee on 2004/03/19 17:03:26
update comments.
Affected files ...
.. //depot/projects/hammer/build32.sh#3 edit
Differences ...
==== //depot/projects/hammer/build32.sh#3 (text+kox) ====
@@ -1,5 +1,5 @@
#! /bin/sh
-# $P4: //depot/projects/hammer/build32.sh#2 $
+# $P4: //depot/projects/hammer/build32.sh#3 $
#
# 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.
@@ -23,12 +23,13 @@
make MAKEOBJDIRPREFIX=/tmp/i386 DESTDIR=/tmp/i386/root MACHINE_ARCH=i386 obj
make MAKEOBJDIRPREFIX=/tmp/i386 DESTDIR=/tmp/i386/root MACHINE_ARCH=i386 includes
-# libncurses needs a build-tools pass first.
+# 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
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
+# 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)
# and now that we have enough libraries, build ld-elf32.so.1
More information about the p4-projects
mailing list