mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
CXX_FOR_TARGET): Add -B$$r/gcc/ here. (FLAGS_FOR_TARGET): Not here. (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2000-08-11 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
|
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
|
||||||
|
CXX_FOR_TARGET): Add -B$$r/gcc/ here.
|
||||||
|
(FLAGS_FOR_TARGET): Not here.
|
||||||
|
(CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.
|
||||||
|
|
||||||
2000-08-07 DJ Delorie <dj@redhat.com>
|
2000-08-07 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
|
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
|
||||||
|
23
configure.in
23
configure.in
@ -1220,15 +1220,6 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
FLAGS_FOR_TARGET=
|
FLAGS_FOR_TARGET=
|
||||||
if test -d ${topsrcdir}/gcc; then
|
|
||||||
# Directories specified with -B are searched for libraries after those
|
|
||||||
# specified with -L, but for headers (in sub-directory `include')
|
|
||||||
# before those specified with -I and -isystem. Fortunately, we don't
|
|
||||||
# expect include directories to exist in build_tooldir/{bin,lib} (see
|
|
||||||
# below), and we want gcc/include to be searched first.
|
|
||||||
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/gcc/'
|
|
||||||
fi
|
|
||||||
|
|
||||||
case " $skipdirs " in
|
case " $skipdirs " in
|
||||||
*" target-newlib "*) ;;
|
*" target-newlib "*) ;;
|
||||||
*)
|
*)
|
||||||
@ -1270,7 +1261,7 @@ fi
|
|||||||
if test "x${CC_FOR_TARGET+set}" = xset; then
|
if test "x${CC_FOR_TARGET+set}" = xset; then
|
||||||
:
|
:
|
||||||
elif test -d ${topsrcdir}/gcc; then
|
elif test -d ${topsrcdir}/gcc; then
|
||||||
CC_FOR_TARGET='$$r/gcc/xgcc'
|
CC_FOR_TARGET='$$r/gcc/xgcc -B$$r/gcc/'
|
||||||
elif test "$host" = "$target"; then
|
elif test "$host" = "$target"; then
|
||||||
CC_FOR_TARGET='$(CC)'
|
CC_FOR_TARGET='$(CC)'
|
||||||
else
|
else
|
||||||
@ -1285,10 +1276,8 @@ esac
|
|||||||
|
|
||||||
if test "x${CHILL_FOR_TARGET+set}" = xset; then
|
if test "x${CHILL_FOR_TARGET+set}" = xset; then
|
||||||
:
|
:
|
||||||
elif test -d ${topsrcdir}/gcc &&
|
elif test -d ${topsrcdir}/gcc; then
|
||||||
echo ",${enable_languages-`echo ${LANGUAGES-CHILL} | tr ' ' ','`}," |
|
CHILL_FOR_TARGET='$$r/gcc/xgcc -B$$r/gcc/ -L$$r/gcc/ch/runtime/'
|
||||||
grep ',CHILL,' > /dev/null ; then
|
|
||||||
CHILL_FOR_TARGET='$$r/gcc/xgcc -L$$r/gcc/ch/runtime/'
|
|
||||||
elif test "$host" = "$target"; then
|
elif test "$host" = "$target"; then
|
||||||
CHILL_FOR_TARGET='$(CC)'
|
CHILL_FOR_TARGET='$(CC)'
|
||||||
else
|
else
|
||||||
@ -1301,10 +1290,8 @@ esac
|
|||||||
|
|
||||||
if test "x${CXX_FOR_TARGET+set}" = xset; then
|
if test "x${CXX_FOR_TARGET+set}" = xset; then
|
||||||
:
|
:
|
||||||
elif test -d ${topsrcdir}/gcc &&
|
elif test -d ${topsrcdir}/gcc; then
|
||||||
echo ",${enable_languages-`echo ${LANGUAGES-c++} | tr ' ' ','`}," |
|
CXX_FOR_TARGET='$$r/gcc/g++ -B$$r/gcc/ -nostdinc++ '$libstdcxx_flags
|
||||||
grep ',c[+][+],' > /dev/null ; then
|
|
||||||
CXX_FOR_TARGET='$$r/gcc/g++ -nostdinc++ '$libstdcxx_flags
|
|
||||||
elif test "$host" = "$target"; then
|
elif test "$host" = "$target"; then
|
||||||
CXX_FOR_TARGET='$(CXX)'
|
CXX_FOR_TARGET='$(CXX)'
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user