O'Reilly logo

Embedded Software Development with eCos™ by Anthony J. Massa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

STEP 10

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required