This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crosstool 0.37 + gdb build fix for cygwin/windows


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]