This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Windows 98 problem when build gcc for ARM


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]