This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Building insight on cygwin.
- To: gdb at sources dot redhat dot com
- Subject: Building insight on cygwin.
- From: <robert123 at operamail dot com>
- Date: Fri, 23 Mar 2001 12:36:26 -0000
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.