[Buildroot] "gdb.mk" in buildroot does not respect extension in cygwin

Thomas Wedde t.wedde at centersystems.com
Wed Jan 10 17:42:08 UTC 2007

Hi list,

Builing a croos – toolchain from i386-pc-cygwin (host) for arm-linux-gnu
(target) with Building gdb for the host and gdbserver for the target enabled
ends whith following error:

make[3]: Entering directory
make[4]: Entering directory
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
make[3]: Leaving directory
make[2]: Leaving directory
make[1]: Leaving directory `/opt/buildroot/toolchain_build_arm/gdbhost-6.3'
strip /opt/buildroot/toolchain_build_arm/gdbhost-6.3/gdb/gdb
strip: /opt/buildroot/toolchain_build_arm/gdbhost-6.3/gdb/gdb: No such file or
make: *** [/opt/buildroot/toolchain_build_arm/gdbhost-6.3/gdb/gdb] Error 1

I found out that the "gdb.mk" in \buildroot\toolchain\gdb\" uses the plain
filename "gdb" for the last steps of the makefile (stripping and installing).
In cygwin, we always have an ".exe" extension for all the host tools.

This is not a fatal problem, but I think this is easy to fix with a check of
the host configuration.

Best Regards


More information about the buildroot mailing list