public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* building binutils under cygwin on win98
@ 2000-06-19 17:11 Chuck Meade
  2000-06-19 17:44 ` Chris Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Chuck Meade @ 2000-06-19 17:11 UTC (permalink / raw)
  To: binutils

Hello,

Binutils does not want to build under cygwin on win98.
Binutils version is 2.9.1.  I untar the binutils package,
then the cygwin bash shell, and cd to the root of binutils.
I then type:

  ./configure --target=powerpc-eabi

It works for a long time checking the configuration, but I
get a lot of errors like:

  sed: file conftestsed line 1: Unknown option to 's'

  sed: file conftest.hdr line 1: Unknown option to 's'

  sed: file conftest.s1 line 1: Extra characters after command

  sed: file conftest.frag line 1: Unknown option to 's'

  sed: file conftest.defs line 1: Unknown option to 's'

The above errors appear multiple times throughout the output
of ./configure (except the last error which only appears once).
There is, of course, much more output from ./configure but these
are the only discernable error messages.  The make command fails
after configure stops with the following error:

  Makefile:133: *** commands commence before first target.  Stop.

This appears to be a problem with configure's ability to create
files under cygwin on win98.

Note that I did try this both with and without CYGWIN set to "tty"
in cygwin.bat:

  set CYGWIN=tty

Someone told me that might help, but it did not change anything.

Thanks for your help and let me know if I can provide any more
information, output, version numbers, etc...  I did look for an
FAQ first by emailing binutils-faq@sourceware.cygnus.com, but the
FAQ that is returned is empty.

Chuck

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: building binutils under cygwin on win98
  2000-06-19 17:11 building binutils under cygwin on win98 Chuck Meade
@ 2000-06-19 17:44 ` Chris Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Faylor @ 2000-06-19 17:44 UTC (permalink / raw)
  To: binutils

On Mon, Jun 19, 2000 at 08:11:45PM -0400, Chuck Meade wrote:
>Hello,
>
>Binutils does not want to build under cygwin on win98.
>Binutils version is 2.9.1.  I untar the binutils package,
>then the cygwin bash shell, and cd to the root of binutils.
>I then type:
>
>  ./configure --target=powerpc-eabi
>
>It works for a long time checking the configuration, but I
>get a lot of errors like:
>
>  sed: file conftestsed line 1: Unknown option to 's'
>
>  sed: file conftest.hdr line 1: Unknown option to 's'
>
>  sed: file conftest.s1 line 1: Extra characters after command
>
>  sed: file conftest.frag line 1: Unknown option to 's'
>
>  sed: file conftest.defs line 1: Unknown option to 's'

You're suffering from CRLF line endings in your files.  You probably
want to do three things:

1) If you haven't already done so, upgrade your version of
   the cygwin DLL to the latest version.  You should be able
   to do this by downloading the file setup.exe from your
   nearest cygwin mirror (check out the cygwin web page)
   and typing "c:\wherever\setup cygwin" IN AN EMPTY DIRECORY.

2) Update your version of sed to the latest version:
	c:\wherever\setup sed
   Again, IN AN EMPTY DIRECTORY

3) Make sure that either your files all standard UNIX newline line
   endings (i.e., not CRLF line endings) or that you are working
   in a directory that has been mounted as "text mode".  To mount
   a directory as text, use the command:

	mount -t c:\whatever\foo /whatever/foo

   You probably should also check out the documentation on the mount
   command at the cygwin project web page.

FYI, the cygwin project web page is http://sourceware.cygnus.com/cygwin/ .
If you are still having problems you should send email to the
cygwin project mailing list: cygwin@sourceware.cygnus.com .

>Note that I did try this both with and without CYGWIN set to "tty"
>in cygwin.bat:
>
>  set CYGWIN=tty
>
>Someone told me that might help, but it did not change anything.

Someone was wrong.  This has no bearing on this problem.

cgf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-19 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-19 17:11 building binutils under cygwin on win98 Chuck Meade
2000-06-19 17:44 ` Chris Faylor

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).