[ros-dev] Busted mingw-gcc 3.4.2

Filip Navara xnavara at volny.cz
Tue Apr 5 18:55:57 CEST 2005


Oliver Schneider wrote:

>Thanks for your reply.
>
>>hat file should be auto-generated... Let me guess, you're using MSYS 
>>make, right?
>>    
>>
>I believe so. What's wrong with it? The GAIM guys also complain about it. It
>it really always the culprit? ;)
>  
>
I can only say that you're on your own when using MSYS make...it's 
pretty different environment from standard MinGW. The attached patch 
solves the problem with tools-check on MSYS, but be prepared that other 
problems can appear (especially with dependency files)..

- Filip.
-------------- next part --------------
Index: tools-check.mak
===================================================================
--- tools-check.mak	(revision 14332)
+++ tools-check.mak	(working copy)
@@ -12,9 +12,7 @@
 BINUTILS_VERSION_DATE=$(word 5,$(shell $(PREFIX)ld -v))
 
 all: 
-ifeq ($(HOST),mingw32-linux)
 	@echo "#define BINUTILS_VERSION_DATE $(BINUTILS_VERSION_DATE)" > tools-check.h
-endif
 ifeq ($(HOST),mingw32-windows)
 	@echo #define BINUTILS_VERSION_DATE $(BINUTILS_VERSION_DATE) > tools-check.h
 endif


More information about the Ros-dev mailing list