Problems with ash-20040127-3

Angelo Graziosi Angelo.Graziosi@roma1.infn.it
Fri Jul 8 00:00:00 GMT 2005


Last morning I have made a build of ROOT (a CERN application) using the
snapshot 20050705, bash-3.0-3-test, ash-20040127-1, coreutils-5.3.0-6
GCC-3.3.3-3. The buid takes almost 1.5 h

After upgrading to bash-3.0-7, ash-20040127-3, coreutils-5.3.0-7 I have
tried a new build. This time the buid stopped after a few minutes with:

   wingcc_ld.sh: unespected end of file... at line 12 and 31

Perhaps should one to change someting in this *.sh file (see Attc.) ?

/bin/sh in /bin/ash ? or in /bin/bash ?

Best regards,
   angelo.
-------------- next part --------------
#! /bin/sh

# Put dlls into bin/, symlinking them to lib/, and create
# a symlinked import archive .dll.a in lib/.

args=
isdll=0
while [ "$1" != "" ]; do
   case "$1" in
   -o) args="$args $1"; shift; 
       dllname="$1"; dllbase=`basename $1`; 
       if [ "`echo $dllname | sed 's{^lib/.*\.dll${{'`" != "$dllname" ]; then
	   isdll=1
	   args="$args bin/$dllbase" 
       else
	   args="$args $1" 
       fi ;;
   *) args="$args $1" ;;
   esac
   shift
done

# 
g++ $args \
  && ( if [ "$isdll" != "0" ]; then \
          ln -sf ../bin/$dllbase $dllname; \
          ln -sf ../bin/$dllbase $dllname.a; \
       fi )

exit $?
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list