Minor touch ups to the tools version check to get it working on Linux.

svn path=/trunk/; revision=13949
This commit is contained in:
Filip Navara
2005-03-12 02:04:08 +00:00
parent 7c7a235e5f
commit eab893a17c
2 changed files with 7 additions and 2 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
(BINUTILS_VERSION_DATE < 20031001)
#error Due to technical reasons your binutils version can't be used to \
build ReactOS. Please consider upgrading to newer version. See \
www.mingw.org for details.)
www.mingw.org for details.
#endif
/*
@@ -23,7 +23,7 @@
(__GNUC__ < 3)
#error Due to technical reasons your GCC version can't be used to \
build ReactOS. Please consider upgrading to newer version. See \
www.mingw.org for details.)
www.mingw.org for details.
#endif
/*
+5
View File
@@ -12,7 +12,12 @@ include $(PATH_TO_TOP)/rules.mak
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
$(HOST_CC) -c tools-check.c -o tools-check.temp
$(RM) tools-check.temp
$(RM) tools-check.h