* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): If using newlib,
set the -L and -B directory prefixes so we can link with it.
This commit is contained in:
parent
b933a608ed
commit
998b321b93
|
@ -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)
|
Thu Jul 28 14:37:36 1994 Stu Grossman (grossman@cygnus.com)
|
||||||
|
|
||||||
* Makefile.in (INSTALLED_LIBS, CLIBS, DEPFILES): Add support for
|
* Makefile.in (INSTALLED_LIBS, CLIBS, DEPFILES): Add support for
|
||||||
|
|
|
@ -234,7 +234,7 @@ FLAGS_TO_PASS = \
|
||||||
CC_FOR_TARGET = ` \
|
CC_FOR_TARGET = ` \
|
||||||
if [ -f $${rootme}/../gcc/xgcc ] ; then \
|
if [ -f $${rootme}/../gcc/xgcc ] ; then \
|
||||||
if [ -f $${rootme}/../newlib/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 \
|
else \
|
||||||
echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
|
echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
|
||||||
fi; \
|
fi; \
|
||||||
|
@ -247,11 +247,10 @@ CC_FOR_TARGET = ` \
|
||||||
fi`
|
fi`
|
||||||
|
|
||||||
CXX = gcc
|
CXX = gcc
|
||||||
|
|
||||||
CXX_FOR_TARGET = ` \
|
CXX_FOR_TARGET = ` \
|
||||||
if [ -f $${rootme}/../gcc/Makefile ] ; then \
|
if [ -f $${rootme}/../gcc/Makefile ] ; then \
|
||||||
if [ -f $${rootme}/../newlib/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 \
|
else \
|
||||||
echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
|
echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
|
||||||
fi; \
|
fi; \
|
||||||
|
|
Loading…
Reference in New Issue