Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/gcc Skip parameters for multilib build for now.
details: https://anonhg.NetBSD.org/src/rev/99298cba7746
branches: trunk
changeset: 749500:99298cba7746
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Dec 01 04:59:24 2009 +0000
description:
Skip parameters for multilib build for now.
diffstat:
tools/gcc/mknative-gcc | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (55 lines):
diff -r dfbe8432b962 -r 99298cba7746 tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc Tue Dec 01 03:13:26 2009 +0000
+++ b/tools/gcc/mknative-gcc Tue Dec 01 04:59:24 2009 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mknative-gcc,v 1.42 2009/12/01 03:13:26 uebayasi Exp $
+# $NetBSD: mknative-gcc,v 1.43 2009/12/01 04:59:24 uebayasi Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of src/gnu/dist/gcc.
@@ -90,17 +90,20 @@
local _lib_prefix=${_lib%.*}
local _lib_suffix=${_lib#*.}
+ cat build/gcc/libgcc.mk | \
+ grep -v '/32/' | \
sed -ne '
/^\.\/'${_lib_prefix}'\.'${_lib_suffix}': .*\.o$/ {
s,^.*/,,
s,\.o$,,
p
}
- ' build/gcc/libgcc.mk | sort
+ ' | sort
}
get_libgcc_list_objs_libs () {
cat build/gcc/libgcc.mk | \
+ grep -v '/32/' | \
egrep '^\.\/(libgcc_s\.so|libgcc\.a|libgcc_eh\.a|libgcov\.a): (libgcc_s|libgcc|libgcc_eh|libgcov)\/.*\.o$' | \
sed -e '
s,^\.\/,,
@@ -126,19 +129,21 @@
get_libgcc_list_objs_tmplsrcs () {
grep 'GCC_FOR_TARGET.*\.o$' build/gcc/libgcc.mk | \
+ grep -v '/32/' | \
sed -ne '
s,^.* -c \([^ ]*\).* -o .*/\([^ ]*\.o\)$,\2 \1,
# basename
/\$/ { s,\$.*/,,; }
/\// { s,\/.*/,,; }
p
- ' | sort
+ ' | sort -u
}
get_libgcc_list_objs_xflags () {
local _flags=$1
grep 'GCC_FOR_TARGET.*\.o$' build/gcc/libgcc.mk | \
+ grep -v '/32/' | \
sed -n '
x
:loop
Home |
Main Index |
Thread Index |
Old Index