Work with MINGW compiler. No need to have cygwin1.dll.

This commit is contained in:
Laurent Destailleur 2009-09-06 20:30:12 +00:00
parent cf6f8982f8
commit 38ec4689f5
3 changed files with 2 additions and 4 deletions

View File

@ -50,8 +50,6 @@ COPTIONS=-O3
endif
ifeq "$(OS)" "Windows_NT"
# wsock32 required only if _WIN32 defined in source code and use WSA* functions
# wsock32 of CYGWIN need cygwin1.dll to work
#LOPTIONS=-lwsock32 -Bstatic
LOPTIONS=-Bstatic
endif
ifeq "$(MACHTYPE)" "sparc"
@ -105,7 +103,7 @@ endif
#-----------------
ifeq "$(OS)" "Windows_NT"
RM = rm -f
CFLAGS = $(COPTIONS) $(INCLUDES) -Ic:/langages/gcc/i386-mingw32/include/windows32
CFLAGS = $(COPTIONS) $(INCLUDES)
else
RM = rm -f
CFLAGS = $(COPTIONS) $(INCLUDES)

View File

@ -3,7 +3,7 @@
//---------------------------------------------------------------------------
// Tested with :
// GCC CYGWIN 3.4.4 (May need cygwin1.dll, depending on functions used)
// MINGW 3.4.5
// GCC MINGW 3.4.5
// Not tested with:
// VC++ 4.0.0
// GCC Linux 3.4.4

Binary file not shown.