c8a0e2f4c6
This commit finalizes support for cross compilation. The tools directory are all links to the actual tools and are built on the host system to build Minix. build.sh is the work horse that takes care of all environment settings. It's slightly adjusted for Minix. The /usr/src/Makefile has additional targets needed for cross compilation.
23 lines
787 B
Text
23 lines
787 B
Text
--- libjava/contrib/rebuild-gcj-db.in.orig Wed Jul 2 13:17:54 2008
|
|
+++ libjava/contrib/rebuild-gcj-db.in Fri Jun 3 14:16:43 2011
|
|
@@ -1,4 +1,4 @@
|
|
-#!/bin/bash
|
|
+#!/bin/sh
|
|
# rebuild-gcj-db
|
|
|
|
## Copyright (C) 2000, 2002, 2003, 2008 Free Software Foundation
|
|
@@ -16,12 +16,12 @@
|
|
base=@prefix@/lib/$dirname
|
|
dbLocation=`@prefix@/bin/gcj-dbtool -p $base`
|
|
libdir=$base/gcj
|
|
- if ! test -d $libdir; then
|
|
+ if test ! -d $libdir; then
|
|
# No shared libraries here.
|
|
continue
|
|
fi
|
|
dirname $dbLocation | xargs mkdir -p
|
|
@prefix@/bin/gcj-dbtool -n $dbLocation 64
|
|
- find $libdir -follow -name '*.db' -print0 | \
|
|
+ find $libdir -follow -name '*.db' -print | @AWK@ '{printf("%s%c", $1, 0);}' | \
|
|
@prefix@/bin/gcj-dbtool -0 -m $dbLocation $dbLocation
|
|
done
|