* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program name to use.
This commit is contained in:
parent
5691881058
commit
41476ab0bd
|
@ -1,3 +1,9 @@
|
||||||
|
2001-06-08 Alexandre Oliva <aoliva@redhat.com>, Jeff Sturm <jsturm@one-point.com>
|
||||||
|
|
||||||
|
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
|
||||||
|
gcc/xgcc is built, use -print-prog-name to find out the program
|
||||||
|
name to use.
|
||||||
|
|
||||||
2001-06-04 Mark Mitchell <mark@codesourcery.com>
|
2001-06-04 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
|
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
|
||||||
|
|
|
@ -231,6 +231,8 @@ GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
|
||||||
AS_FOR_TARGET = ` \
|
AS_FOR_TARGET = ` \
|
||||||
if [ -f $$r/gas/as-new ] ; then \
|
if [ -f $$r/gas/as-new ] ; then \
|
||||||
echo $$r/gas/as-new ; \
|
echo $$r/gas/as-new ; \
|
||||||
|
elif [ -f $$r/gcc/xgcc ]; then \
|
||||||
|
$(CC_FOR_TARGET) -print-prog-name=as ; \
|
||||||
else \
|
else \
|
||||||
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
||||||
echo $(AS); \
|
echo $(AS); \
|
||||||
|
@ -242,6 +244,8 @@ AS_FOR_TARGET = ` \
|
||||||
LD_FOR_TARGET = ` \
|
LD_FOR_TARGET = ` \
|
||||||
if [ -f $$r/ld/ld-new ] ; then \
|
if [ -f $$r/ld/ld-new ] ; then \
|
||||||
echo $$r/ld/ld-new ; \
|
echo $$r/ld/ld-new ; \
|
||||||
|
elif [ -f $$r/gcc/xgcc ]; then \
|
||||||
|
$(CC_FOR_TARGET) -print-prog-name=ld ; \
|
||||||
else \
|
else \
|
||||||
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
||||||
echo $(LD); \
|
echo $(LD); \
|
||||||
|
@ -297,6 +301,8 @@ RANLIB_FOR_TARGET = ` \
|
||||||
NM_FOR_TARGET = ` \
|
NM_FOR_TARGET = ` \
|
||||||
if [ -f $$r/binutils/nm-new ] ; then \
|
if [ -f $$r/binutils/nm-new ] ; then \
|
||||||
echo $$r/binutils/nm-new ; \
|
echo $$r/binutils/nm-new ; \
|
||||||
|
elif [ -f $$r/gcc/xgcc ]; then \
|
||||||
|
$(CC_FOR_TARGET) -print-prog-name=nm ; \
|
||||||
else \
|
else \
|
||||||
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
||||||
echo $(NM); \
|
echo $(NM); \
|
||||||
|
|
Loading…
Reference in New Issue