This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]