From 2218a9cd7dd8e7fa11aef4156f54b6b76623c531 Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:05:30 +0000 Subject: [PATCH] 2003/09/07 12:00:31 darcs-hash:20040130070530-2ba56-35eea7dc4e13d0279b5bbf3b78066c1e10317b95.gz --- Makefile.upstream | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Makefile.upstream b/Makefile.upstream index 0ea759f..75d8a81 100644 --- a/Makefile.upstream +++ b/Makefile.upstream @@ -5,6 +5,7 @@ # deal with Apple's brokenness setcc := CC="$(patsubst Darwin,/usr/bin/gcc3 -no-cpp-precomp,$(findstring Darwin,$(shell uname)))" +setcc += PATH=`pwd`/upstream/install/bin:$$PATH # where to get stuff url_newlib-1.11.0 := ftp://sources.redhat.com/pub/newlib/newlib-1.11.0.tar.gz @@ -27,14 +28,15 @@ url_jikes-1.18 := http://www.megacz.com/tmp/jikes-1.18.tgz #ftp:// make -C upstream/darwin-linker/src/cctools/as make -C upstream/darwin-linker/src/cctools/ar mkdir -p upstream/install/powerpc-apple-darwin/bin - cp upstream/darwin-linker/src/cctools/ld/ld_dir/ld.NEW \ - upstream/install/powerpc-apple-darwin/bin/ld - cp upstream/darwin-linker/src/cctools/misc/strip.NEW \ - upstream/install/powerpc-apple-darwin/bin/strip - cp upstream/darwin-linker/src/cctools/as/appc_dir/as \ - upstream/install/powerpc-apple-darwin/bin/as - cp upstream/darwin-linker/src/cctools/ar/ar \ - upstream/install/powerpc-apple-darwin/bin/ar + cp upstream/darwin-linker/src/cctools/ld/ld_dir/ld.NEW upstream/install/powerpc-apple-darwin/bin/ld + cp upstream/darwin-linker/src/cctools/misc/strip.NEW upstream/install/powerpc-apple-darwin/bin/strip + cp upstream/darwin-linker/src/cctools/as/appc_dir/as upstream/install/powerpc-apple-darwin/bin/as + cp upstream/darwin-linker/src/cctools/ar/ar.NEW upstream/install/powerpc-apple-darwin/bin/ar + mkdir -p upstream/install/bin + cd upstream/install/bin; ln -s ../powerpc-apple-darwin/bin/ld powerpc-apple-darwin-ld + cd upstream/install/bin; ln -s ../powerpc-apple-darwin/bin/as powerpc-apple-darwin-as + cd upstream/install/bin; ln -s ../powerpc-apple-darwin/bin/ar powerpc-apple-darwin-ar + cd upstream/install/bin; ln -s ../powerpc-apple-darwin/bin/strip powerpc-apple-darwin-strip touch $@ # building gcc requires binutils -- 1.7.10.4