Finally, we build the GNU Debugger with Insight. First, we create a temporary directory for the GNU Debugger build with the command:
$ mkdir –p /tmp/build/gdb
We should verify that the directory D:\cygwin\tmp\build\gdb is created. Change to the directory we just created using the command
$ cd /tmp/build/gdb
Now we can configure to build the GNU Debugger with Insight using the command:
$ /src/gdb/insight-5.1a/configure –-target=i386-elf \ --prefix=/tools \ --exec-prefix=/tools/H-i686-pc-cygwin \ -v 2>&1 | tee configure.out
The output messages from the configuration process are contained in the file configure.out located in the D:\cygwin\tmp\build\gdb subdirectory should you need to refer to a particular message.
After the configuration ...