Minor touch ups to the tools version check to get it working on Linux. Modified: trunk/reactos/tools/tools-check.c Modified: trunk/reactos/tools/tools-check.mak _____
Modified: trunk/reactos/tools/tools-check.c --- trunk/reactos/tools/tools-check.c 2005-03-12 01:11:06 UTC (rev 13948) +++ trunk/reactos/tools/tools-check.c 2005-03-12 02:04:08 UTC (rev 13949) @@ -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
/* _____
Modified: trunk/reactos/tools/tools-check.mak --- trunk/reactos/tools/tools-check.mak 2005-03-12 01:11:06 UTC (rev 13948) +++ trunk/reactos/tools/tools-check.mak 2005-03-12 02:04:08 UTC (rev 13949) @@ -12,7 +12,12 @@
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