This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Building insight on cygwin. (fwd)
- To: Insight Maling List <insight at sources dot redhat dot com>
- Subject: Building insight on cygwin. (fwd)
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Fri, 23 Mar 2001 09:24:00 -0800 (PST)
FYI. I've never heard of this...
Keith
---------- Forwarded message ----------
Date: Fri, 23 Mar 2001 12:36:26 -0000
From: robert123@operamail.com
To: gdb@sources.redhat.com
Subject: Building insight on cygwin.
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.