* ld/Makefile shell error for --host=sun4-... --target=powerpc-...
@ 1995-09-25 21:46 Andrew Cagney
1995-09-26 8:36 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 1995-09-25 21:46 UTC (permalink / raw)
To: gas2
Hello,
Below is a problem for someone really up on all the
Makefile.in/configure scripts. I could include a patch but I suspect
that I make break things for another host/target ... :-)
In several places in gas-950919/ld/Makefile.in there appears commands like:
-n=`echo ld | sed $(program_transform_name)`; \
which with the SunOS-4.1.3u1 shell gives a syntax error (after expansion) of:
$ n=`echo ld | sed s,^,powerpc-unknown-eabi,`
sed: Illegal or missing delimiter: s,
,powerpc-unknown-eabi,: not found
looking in the gas directory the same thing was written as:
-n=`echo ld | sed '$(program_transform_name)'`; \
(notice the addition of quotes).
fyi, Andrew
PS: Below is the example output from a make install. Notice how, even
though the above problem occures, it still manages to do a correct
install!
n=`echo ld | sed s,^,powerpc-unknown-eabi-,;`; \
rm -f /applications/clayton/powerpc-unknown-eabi/bin/ld; \
ln /applications/clayton/bin/$n
/applications/clayton/powerpc-unknown-eabi/bin/ld >/dev/null 2>/dev/null
\
|| /a/puddin/bofh/archive/scratch/clayton/gas-950919/install.sh -c
ld.new /applications/clayton/powerpc-unknown-eabi/bin/ld
sed: Illegal or missing delimiter: s,
sh: ,powerpc-unknown-eabi-,: not found
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ld/Makefile shell error for --host=sun4-... --target=powerpc-...
1995-09-25 21:46 ld/Makefile shell error for --host=sun4-... --target=powerpc- Andrew Cagney
@ 1995-09-26 8:36 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 1995-09-26 8:36 UTC (permalink / raw)
To: cagney; +Cc: gas2
Date: Tue, 26 Sep 1995 14:04:50 +1000 (EST)
From: Andrew Cagney <cagney@highland.com.au>
In several places in gas-950919/ld/Makefile.in there appears commands like:
-n=`echo ld | sed $(program_transform_name)`; \
which with the SunOS-4.1.3u1 shell gives a syntax error (after expansion) of:
This was fixed on 20 Sep.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-09-26 8:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-09-25 21:46 ld/Makefile shell error for --host=sun4-... --target=powerpc- Andrew Cagney
1995-09-26 8:36 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).