Building insight on cygwin.

robert123@operamail.com robert123@operamail.com
Fri Mar 23 09:09:00 GMT 2001


This may be obvious to everyone else but I missed it, 

To get insight+dejagnu-20010321 to build with gcc 2.95.3-1 on cygwin I needed to export 'CC=gcc -mwin32'.

With that done I was able to build GDB for the sh-coff target.


Here is the script I now use:-

#Configure Insight:

export 'CC=gcc -mwin32'

mkdir -p /tmp/build/gdb
cd /tmp/build/gdb/
/src/insight+dejagnu-20010321/configure --target=sh-coff \
--prefix=/sh-tools \
--exec-prefix=/sh-tools/sh-coff-2.95.2 \
-v 2>&1 | tee configure.out

#Build and install Insight:
make -w all install 2>&1 | tee make.out



Robert.



More information about the Gdb mailing list