diff options
author | J.T. Conklin <jtc@acorntoolworks.com> | 1994-07-29 17:08:25 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@acorntoolworks.com> | 1994-07-29 17:08:25 +0000 |
commit | 998b321b939c4e4905f921af78f4b00117fa02f8 (patch) | |
tree | ad86f6c5d8afa643d9a4105b31fdfddfc22950a2 /gdb | |
parent | b933a608ed7d3ecce17fcff1841c92d1b432cc7b (diff) | |
download | gdb-998b321b939c4e4905f921af78f4b00117fa02f8.zip gdb-998b321b939c4e4905f921af78f4b00117fa02f8.tar.gz gdb-998b321b939c4e4905f921af78f4b00117fa02f8.tar.bz2 |
* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): If using newlib,
set the -L and -B directory prefixes so we can link with it.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/Makefile.in | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 07455cb..fd44ecb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 29 09:59:05 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): If using newlib, + set the -L and -B directory prefixes so we can link with it. + Thu Jul 28 14:37:36 1994 Stu Grossman (grossman@cygnus.com) * Makefile.in (INSTALLED_LIBS, CLIBS, DEPFILES): Add support for diff --git a/gdb/Makefile.in b/gdb/Makefile.in index cfbbd18..469cbdb 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -234,7 +234,7 @@ FLAGS_TO_PASS = \ CC_FOR_TARGET = ` \ if [ -f $${rootme}/../gcc/xgcc ] ; then \ if [ -f $${rootme}/../newlib/Makefile ] ; then \ - echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc; \ + echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc -L$${rootme}/../../newlib -B$${rootme}/../../newlib/; \ else \ echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \ fi; \ @@ -247,11 +247,10 @@ CC_FOR_TARGET = ` \ fi` CXX = gcc - CXX_FOR_TARGET = ` \ if [ -f $${rootme}/../gcc/Makefile ] ; then \ if [ -f $${rootme}/../newlib/Makefile ] ; then \ - echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc; \ + echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/newlib/targ-include -idirafter $${rootsrc}/../newlib/libc/include -nostdinc -L$${rootme}/../../newlib -B$${rootme}/../../newlib/; \ else \ echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \ fi; \ |