[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with RTEMS Makefile for i386/pc386/tools



Hi,

I am having a problem with the Makefile for
   /build/rtems/c/src/lib/libbsp/i386/pc386/tools
withCygWin onWin-NT 4. Aparently the Makefile attempts to build and copy 
executables without specifying the ".EXE" extensions. Here are the 
results I get:

   ***  /build/rtems/c/src/lib/libbsp/i386/pc386/tools (all)
   cd tools; make all
   test -d o-pc386 || /cygwin-b20/H-i586-cygwin32/bin/mkdir -p o-pc386
   /cygwin-b20/H-i586-cygwin32/bin/gcc -g -o o-pc386/bin2boot
      /source/rtems-4.0.0/c/src/lib/libbsp/i386/pc386/tools/bin2boot.c
   /cygwin-b20/H-i586-cygwin32/bin/gcc -g -o o-pc386/binpatch
     /source/rtems-4.0.0/c/src/lib/libbsp/i386/pc386/tools/binpatch.c
   /build/rtems/pc386/build-tools/install-if-change -m 555
     o-pc386/bin2boot o-pc386/binpatch /build/rtems/pc386/build-tools
   cp -p o-pc386/bin2boot /build/rtems/pc386/build-tools/bin2boot
   cp: o-pc386/bin2boot: No such file or directory
   make[7]: *** [all] Error 1

The Makefile tries to copy the file "o-pc386/bin2boot", but the real file 
name is "o-pc386/bin2boot.exe". So the copy fails and the "make" run 
terminates.

I have seen this problem being addressed in an e-mail with tips for 
building RTEMS using CygWin (thanks got to Adrian  Bocaniciu) but I have 
not seen it being discussed in this mailing list (within the lats month 
or two). That's why I thought it might be of interest to the group.

My question: Is this really a bug in RTEMS or is it a configuration 
related problem (ie. caused by a wrongly set up CygWin) ?

Stephan




--
Stephan Wilms (stephan.wilms at cwa.de) 
CWA-GmbH, Aachen, Germany