SourceForge has been redesigned. Learn more.
Close

#186 MinGW build for

open
nobody
None
5
2014-10-10
2011-03-01
Anonymous
No

I have used the 2 files below to build the hyphenation library under MinGW-w64. Maybe it makes sense to add them to the distribution.

Makefile.mingw

hyphen.dll : hnjalloc.o substrings.o hyphen.o
gcc -shared -o hyphen.dll hnjalloc.o substrings.o hyphen.o -Wl,--out-implib,libhyphen.a
hnjalloc.o : hnjalloc.c substrings.c hyphen.c hnjalloc.h hyphen.h
gcc -c -DBUILD_DLL hnjalloc.c
substrings.o : hnjalloc.c substrings.c hyphen.c hnjalloc.h hyphen.h
gcc -c -DBUILD_DLL substrings.c
hyphen.o : hnjalloc.c substrings.c hyphen.c hnjalloc.h hyphen.h
gcc -c -DBUILD_DLL hyphen.c

Build.bat

set path=c:\WPM\net.sourceforge.mingw-w64.MinGWW64W32Sezero-2010.10.3\bin\ gmake.exe -f Makefile.mingw

Discussion