This is the mail archive of the
mailing list for the GDB project.
build script for gdb 6.7.1 for mingw32ce
- From: "Steve DeLaney" <onramp123 at yahoo dot com>
- To: "'Pedro Alves'" <pedro_alves at portugalmail dot pt>, <gdb at sourceware dot org>
- Date: Wed, 12 Dec 2007 13:38:44 -0800
- Subject: build script for gdb 6.7.1 for mingw32ce
- Reply-to: <onramp123 at yahoo dot com>
Thanks to all the help from Pedro on this. I'm including a build script
patches gdb 6.7.1 and builds gdb and gdbserver. not sure the best way to
post this so I'll just include it inline for now.
# built with mingw32ce distro 0.51
echo "UNTAR $src DISTRO"
tar xvzf $src.tar.gz
echo "PATCHING $src DISTRO for mingw32ce"
# using bfd patch submitted by Pedro 2007-12-10
patch < ../../mingw32ce.patch
echo "BUILDING GDB"
../$src/configure --target=arm-wince-mingw32ce --prefix=/opt/mingw32ce
echo "GDB BUILD COMPLETE"
echo "BUILDING GDBSERVER"
arm-wince-mingw32ce-strip gdbserver.exe -o gdbserver-stripped.exe
echo "GDBSERVER BUILD COMPLETE"
echo "copy gdbserver-stripped.exe to the device and rename it gdbserver.exe"
From: firstname.lastname@example.org [mailto:email@example.com] On Behalf
Of Pedro Alves
Sent: Monday, December 10, 2007 2:25 PM
To: firstname.lastname@example.org; email@example.com
Subject: RE: help building gdb 6.7.1 for windows CE ARM
Steve DeLaney wrote:
> I am attempting a build of gdb 6.7.1 for windows CE ARM target using >
mingw32ce the objective is to have gdbserver on target providing a "target
> remote x" interface to the host development gdb. in other words a
standard > session configuration.
> can anyone help with the --target and --host configure options ?
Build gdb with --target=arm-wince-mingw32ce Build gdbserver with
> I think there is a bfd patch but not sure if it is located in the patches
> archive ?
I had never submitted it upstream ...
... until now: