Build DLL using cross-compilation
This commit is contained in:
parent
b5df7eef38
commit
51132a3819
|
@ -15,6 +15,7 @@
|
||||||
/doc/Makefile
|
/doc/Makefile
|
||||||
/doc/Makefile.in
|
/doc/Makefile.in
|
||||||
/example
|
/example
|
||||||
|
/example.exe
|
||||||
/example.o
|
/example.o
|
||||||
/hnjalloc.lo
|
/hnjalloc.lo
|
||||||
/hnjalloc.o
|
/hnjalloc.o
|
||||||
|
@ -30,6 +31,7 @@
|
||||||
/ltmain.sh
|
/ltmain.sh
|
||||||
/missing
|
/missing
|
||||||
/substrings
|
/substrings
|
||||||
|
/substrings.exe
|
||||||
/substrings.o
|
/substrings.o
|
||||||
/test-driver
|
/test-driver
|
||||||
/tests/*.log
|
/tests/*.log
|
||||||
|
|
|
@ -2,7 +2,7 @@ SUBDIRS= doc tests
|
||||||
|
|
||||||
lib_LTLIBRARIES = libhyphen.la
|
lib_LTLIBRARIES = libhyphen.la
|
||||||
libhyphen_la_SOURCES = hnjalloc.c hyphen.c
|
libhyphen_la_SOURCES = hnjalloc.c hyphen.c
|
||||||
libhyphen_la_LDFLAGS = -version-info 3:0:3
|
libhyphen_la_LDFLAGS = -version-info 3:0:3 -no-undefined
|
||||||
include_HEADERS = hyphen.h
|
include_HEADERS = hyphen.h
|
||||||
noinst_HEADERS = hnjalloc.h
|
noinst_HEADERS = hnjalloc.h
|
||||||
|
|
||||||
|
|
7
README
7
README
|
@ -71,6 +71,13 @@ to lowercase before hyphenation (under UTF-8 console environment):
|
||||||
|
|
||||||
cat mywords.txt | awk '{print tolower($0)}' >mywordslow.txt
|
cat mywords.txt | awk '{print tolower($0)}' >mywordslow.txt
|
||||||
|
|
||||||
|
BUILD DLL USING CROSS-COMPILATION
|
||||||
|
|
||||||
|
./configure --host i586-mingw32 --prefix=/tmp/hyphen-dll
|
||||||
|
make
|
||||||
|
make check
|
||||||
|
make install
|
||||||
|
|
||||||
DEVELOPMENT
|
DEVELOPMENT
|
||||||
|
|
||||||
See README.hyphen for hyphenation algorithm, README.nonstandard
|
See README.hyphen for hyphenation algorithm, README.nonstandard
|
||||||
|
|
|
@ -134,3 +134,10 @@ num.hyph \
|
||||||
num.pat \
|
num.pat \
|
||||||
num.test \
|
num.test \
|
||||||
num.word
|
num.word
|
||||||
|
|
||||||
|
check-am: ../example
|
||||||
|
../example : ../example.exe
|
||||||
|
echo '#! /bin/sh' > $@
|
||||||
|
echo '# Wrapper for example.exe' >> $@
|
||||||
|
echo 'wine `dirname "$$0"`/example.exe "$$@" |dos2unix' >> $@
|
||||||
|
chmod +x $@
|
||||||
|
|
Loading…
Reference in New Issue