3 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
4 |
# 2000, 2001, 2002 Free Software Foundation, Inc. |
# 2000, 2001, 2002 Free Software Foundation, Inc. |
5 |
|
|
6 |
timestamp='2002-01-10' |
timestamp='2002-01-23' |
7 |
|
|
8 |
# This file is free software; you can redistribute it and/or modify it |
# This file is free software; you can redistribute it and/or modify it |
9 |
# under the terms of the GNU General Public License as published by |
# under the terms of the GNU General Public License as published by |
837 |
# The BFD linker knows what the default object file format is, so |
# The BFD linker knows what the default object file format is, so |
838 |
# first see if it will tell us. cd to the root directory to prevent |
# first see if it will tell us. cd to the root directory to prevent |
839 |
# problems with other programs or directories called `ld' in the path. |
# problems with other programs or directories called `ld' in the path. |
840 |
ld_supported_targets=`cd /; ld --help 2>&1 \ |
# Export LANG=C to prevent ld from outputting information in other |
841 |
|
# languages. |
842 |
|
ld_supported_targets=`LANG=C; export LANG; cd /; ld --help 2>&1 \ |
843 |
| sed -ne '/supported targets:/!d |
| sed -ne '/supported targets:/!d |
844 |
s/[ ][ ]*/ /g |
s/[ ][ ]*/ /g |
845 |
s/.*supported targets: *// |
s/.*supported targets: *// |
876 |
LIBC=gnulibc1 |
LIBC=gnulibc1 |
877 |
# endif |
# endif |
878 |
#else |
#else |
879 |
|
#ifdef __INTEL_COMPILER |
880 |
|
LIBC=gnu |
881 |
|
#else |
882 |
LIBC=gnuaout |
LIBC=gnuaout |
883 |
#endif |
#endif |
884 |
|
#endif |
885 |
EOF |
EOF |
886 |
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` |
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` |
887 |
rm -f $dummy.c |
rm -f $dummy.c |