public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@highland.com.au>
To: gas2@cygnus.com
Subject: ld/Makefile shell error for --host=sun4-... --target=powerpc-...
Date: Mon, 25 Sep 1995 21:46:00 -0000	[thread overview]
Message-ID: <8kNrjWP02QU6RRPN8q@highland.com.au> (raw)

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


             reply	other threads:[~1995-09-25 21:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-25 21:46 Andrew Cagney [this message]
1995-09-26  8:36 ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8kNrjWP02QU6RRPN8q@highland.com.au \
    --to=cagney@highland.com.au \
    --cc=gas2@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).