This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi All,
Running the script below gives a window message "illegal instruction...restart computer", if
too many characters are on the command line.
Is the problem above a
general one, or specific to my computer set-up? Problem created
using CygWin32 with the gcc-2.95 release installed on a Win98
platform.
Note that this gives problems when porting code. Makefiles may
have a 'rm -rf $(OBJECTS)'. Of course it is possible to split the list of
$(OBJECTS) up into smaller pieces (which I am doing right now), but I would like
to minimize modifications.
Jorgo
-------
#!/bin/bash
number=0
numbers= limit=1000
if [ x$1 != x ] ; then limit=$1 ; fi while [ "x$number" != "x$limit" ];
do
number=$[ number + 1 ] # numbers="$numbers DummyLongFileName.$number" numbers="$numbers 234567890" done length=`echo $numbers|wc -c`
echo "trying length=$length" rm -f $numbers |
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |