Build DLL using cross-compilation
This commit is contained in:
parent
b5df7eef38
commit
51132a3819
|
@ -15,6 +15,7 @@
|
|||
/doc/Makefile
|
||||
/doc/Makefile.in
|
||||
/example
|
||||
/example.exe
|
||||
/example.o
|
||||
/hnjalloc.lo
|
||||
/hnjalloc.o
|
||||
|
@ -30,6 +31,7 @@
|
|||
/ltmain.sh
|
||||
/missing
|
||||
/substrings
|
||||
/substrings.exe
|
||||
/substrings.o
|
||||
/test-driver
|
||||
/tests/*.log
|
||||
|
|
|
@ -2,7 +2,7 @@ SUBDIRS= doc tests
|
|||
|
||||
lib_LTLIBRARIES = libhyphen.la
|
||||
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
|
||||
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
|
||||
|
||||
BUILD DLL USING CROSS-COMPILATION
|
||||
|
||||
./configure --host i586-mingw32 --prefix=/tmp/hyphen-dll
|
||||
make
|
||||
make check
|
||||
make install
|
||||
|
||||
DEVELOPMENT
|
||||
|
||||
See README.hyphen for hyphenation algorithm, README.nonstandard
|
||||
|
|
|
@ -134,3 +134,10 @@ num.hyph \
|
|||
num.pat \
|
||||
num.test \
|
||||
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