Subject: Problems w/Cross Compile Under Cygwin (
To: None <>
From: Gene ENonymous <>
List: tech-userlevel
Date: 12/01/2004 01:02:46
OK, I've seen that the most unix like environment is the MS SFU, but I
want to give open source a try...hence the Cygwin. I searched all over
the mailing lists and didn't find too much definitive so let's get at
my (first?) issue.

I got cygwin installed and running. I had to play about with the shell
designation to get to even begin to run. I needed to switch the 
header line to use bash instead of sh.

So then it seemed to start OK but then stops per the below:

$ ./ -m mac68k -T /usr/cross/ tools
===> command: ./ -m mac68k -T /usr/cross/ tools
===> started: Mon Nov 29 22:28:16 USEST 2004
===> No /usr/cross/bin/nbmake, needs building.
===> Bootstrapping nbmake
checking for sh... /usr/bin/sh
checking for gcc... cc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... .exe
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for regex.h... yes
checking for poll.h... yes
checking for regfree in -lregex... no
checking for library containing regfree... none required
checking for setenv... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating
cc  -O -D_PATH_BSHELL="/usr/bin/sh" -D_PATH_DEFSHELLDIR="/usr/bin" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /home/yancm/2-0-src/src/tools/make/../../usr.bin/make/arch.c
cc  -O -D_PATH_BSHELL="/usr/bin/sh" -D_PATH_DEFSHELLDIR="/usr/bin" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /home/yancm/2-0-src/src/tools/make/../../usr.bin/make/buf.c
[...a bunch of compile lines w/no errors...]
cc  -O -D_PATH_BSHELL="/usr/bin/sh" -D_PATH_DEFSHELLDIR="/usr/bin" -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1 -DHAVE_VSNPRINTF=1  -c /home/yancm/2-0-src/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
cc  -O -o nbmake *.o  
===> MACHINE:          mac68k
===> MACHINE_ARCH:     m68k
===> TOOLDIR path:     /usr/cross
===> DESTDIR path:     /home/yancm/2-0-src/src/destdir.mac68k
===> RELEASEDIR path:  /home/yancm/2-0-src/src/releasedir
cp: `/tmp/nbbuild3896/nbmake' and `/usr/cross/bin/nbmake' are the same file

ERROR: Failed to install $TOOLDIR/bin/nbmake

Anyone have suggestions on what the problem is and how to proceed?