crosstool 0.37 + gdb build fix for cygwin/windows
Michelsen, Robert
Robert.Michelsen@vitk.vossloh.com
Tue Jul 12 08:31:00 GMT 2005
Hello,
i just want to add some minor fix ...
If you build whole toolchain including "gdb" under cygwin environment
you need to pass additional switch to gdb "configure" script:
"--disable-nls"
Otherwise you will get:
"make[1]: *** No rule to make target `../intl/libintl.a', needed by
`gdb.exe'."
-------------------------- snip ------------------------------
$ diff -Naur gdb-orig.sh gdb.sh
--- gdb-orig.sh 2005-07-10 22:40:38.000000000 +0200
+++ gdb.sh 2005-07-11 14:53:03.281250000 +0200
@@ -54,7 +54,7 @@
if test '!' -f Makefile; then
# Remember- gdb will run on the host using host resources.
# As such, we compile to run natively BUT with the target of
interest.
- ${GDB_DIR}/configure --target=$TARGET --host=$GCC_HOST
--prefix=$PREFIX
+ ${GDB_DIR}/configure --target=$TARGET --host=$GCC_HOST
--prefix=$PREFIX --disable-nls
fi
make $PARALLELMFLAGS all
-------------------------- snip ------------------------------
Don't know if this applies to other platforms too...
Regards,
Robert Michelsen
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list