This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Windows 98 problem when build gcc for ARM
- To: "Mr. Gareth Powell" <garethpowell at audacity dot fsnet dot co dot uk>
- Subject: Re: [ECOS] Windows 98 problem when build gcc for ARM
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Tue, 30 May 2000 19:20:00 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com, Ben Tsai <tsai at maya dot com>, Charles-Henri <charles-henri at prolectronic dot com>
- Organization: Red Hat UK Ltd.
- References: <20000530150708.D7E3F3ED0@pigeon.maya.com> <000f01bfca5c$9b88a990$91b8fea9@thx1138>
> Making all in makeinfo
> make[3]: Entering directory `/tmp/build/gcc/texinfo/makeinfo'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/tmp/build/gcc/texinfo/makeinfo'
> make[2]: Leaving directory `/tmp/build/gcc/texinfo'
> make[1]: Leaving directory `/tmp/build/gcc/texinfo'
> make[1]: Entering directory `/tmp/build/gcc/gcc'
> Makefile:89: *** commands commence before first target. Stop.
> make[1]: Leaving directory `/tmp/build/gcc/gcc'
> make: *** [all-gcc] Error 2
> make: Leaving directory `/tmp/build/gcc'
This is beacuse of a recently introduced bug in cygwin 1.1.1 which will be
fixed in cygwin 1.1.2. It happens because the makefile has carriage returns
on the ends of the lines, but the cygwin mount point is in "binary" mode.
The workaround is to do the build in a text-mode mount point. For example
in the case above, if cygwin is installed in C:\cygwin type the following
at a bash prompt:
mount c:/cygwin /c
cd /c/tmp/build/gcc
The mount command above defaults to making a text-mode mount, so by
accessing the same directory through that mount point, it will behave
better. You should restart the gcc build from scratch though, i.e. delete
the build tree entirely.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault