My Mac died last week, so I'm having to move my development efforts over to my work PC. It's been quite a while since I tried building gforth on cygwin, but I don't remember having to setup anything special. However, it can't seem to find autogen. Can anyone give me a clue why I'm getting these errors?
ruf...@winll39g5v4 /cygdrive/c/emacs
$ cd ../gforth/
$ cd ../gforth/
ruf...@winll39g5v4 /cygdrive/c/gforth
$ BUILD-FROM-SCRATCH
./autogen.sh: line 2: $'\r': command not found
./autogen.sh: line 4: $'\r': command not found
./autogen.sh: line 6: $'\r': command not found
./autogen.sh: line 8: $'\r': command not found
./autogen.sh: line 13: $'\r': command not found
./autogen.sh: line 18: $'\r': command not found
./autogen.sh: line 22: $'\r': command not found
./autogen.sh: line 24: $'\r': command not found
configure.in:216: warning: AC_LIBOBJ(../$arm_cacheflush): you should use literals
./autogen.sh: line 25: $'\r': command not found
./autogen.sh: line 26: $'\r': command not found
./autogen.sh: line 28: $'\r': command not found
configure.in:216: warning: AC_LIBOBJ(../$arm_cacheflush): you should use literals
./autogen.sh: line 29: $'\r': command not found
./autogen.sh: line 30: $'\r': command not found
./autogen.sh: line 32: $'\r': command not found
configure.in:216: warning: AC_LIBOBJ(../$arm_cacheflush): you should use literal
s
./autogen.sh: line 33: $'\r': command not found
./autogen.sh: line 34: $'\r': command not found
./autogen.sh: line 35: $'\r': command not found
./autogen.sh: line 36: $'\r': command not found
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether to use two dispatches per conditional branch... 0
checking make type... GNU Make
checking whether the linker accepts -export-dynamic... yes
configure: error: cannot run /bin/sh ./config.sub
$ BUILD-FROM-SCRATCH
./autogen.sh: line 2: $'\r': command not found
./autogen.sh: line 4: $'\r': command not found
./autogen.sh: line 6: $'\r': command not found
./autogen.sh: line 8: $'\r': command not found
./autogen.sh: line 13: $'\r': command not found
./autogen.sh: line 18: $'\r': command not found
./autogen.sh: line 22: $'\r': command not found
./autogen.sh: line 24: $'\r': command not found
configure.in:216: warning: AC_LIBOBJ(../$arm_cacheflush): you should use literals
./autogen.sh: line 25: $'\r': command not found
./autogen.sh: line 26: $'\r': command not found
./autogen.sh: line 28: $'\r': command not found
configure.in:216: warning: AC_LIBOBJ(../$arm_cacheflush): you should use literals
./autogen.sh: line 29: $'\r': command not found
./autogen.sh: line 30: $'\r': command not found
./autogen.sh: line 32: $'\r': command not found
configure.in:216: warning: AC_LIBOBJ(../$arm_cacheflush): you should use literal
s
./autogen.sh: line 33: $'\r': command not found
./autogen.sh: line 34: $'\r': command not found
./autogen.sh: line 35: $'\r': command not found
./autogen.sh: line 36: $'\r': command not found
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether to use two dispatches per conditional branch... 0
checking make type... GNU Make
checking whether the linker accepts -export-dynamic... yes
configure: error: cannot run /bin/sh ./config.sub
ruf...@winll39g5v4 /cygdrive/c/gforth
$
$
DaR
