Skip to content
Snippets Groups Projects
Commit 38ec4689 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

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

parent cf6f8982
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,6 @@ COPTIONS=-O3 ...@@ -50,8 +50,6 @@ COPTIONS=-O3
endif endif
ifeq "$(OS)" "Windows_NT" ifeq "$(OS)" "Windows_NT"
# wsock32 required only if _WIN32 defined in source code and use WSA* functions # 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 LOPTIONS=-Bstatic
endif endif
ifeq "$(MACHTYPE)" "sparc" ifeq "$(MACHTYPE)" "sparc"
...@@ -105,7 +103,7 @@ endif ...@@ -105,7 +103,7 @@ endif
#----------------- #-----------------
ifeq "$(OS)" "Windows_NT" ifeq "$(OS)" "Windows_NT"
RM = rm -f RM = rm -f
CFLAGS = $(COPTIONS) $(INCLUDES) -Ic:/langages/gcc/i386-mingw32/include/windows32 CFLAGS = $(COPTIONS) $(INCLUDES)
else else
RM = rm -f RM = rm -f
CFLAGS = $(COPTIONS) $(INCLUDES) CFLAGS = $(COPTIONS) $(INCLUDES)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Tested with : // Tested with :
// GCC CYGWIN 3.4.4 (May need cygwin1.dll, depending on functions used) // 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: // Not tested with:
// VC++ 4.0.0 // VC++ 4.0.0
// GCC Linux 3.4.4 // GCC Linux 3.4.4
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment