32bit-build added, refs #1

master
Marc Wäckerlin 15 years ago
parent f378acbb0c
commit ebad20764d
  1. 7
      doc/examples/makefile.am
  2. 13
      install-32-bit-lin-win.sh

@ -12,8 +12,7 @@ endif
pcsc_demo_SOURCES = pcsc-demo.cxx pcsc_demo_SOURCES = pcsc-demo.cxx
if MINGW32 if MINGW32
pcsc_demo_LDFLAGS = -L. pcsc_demo_LDADD = /opt/local/i586-mingw32msvc/lib/winscard.a
pcsc_demo_LDADD = winscard.a
else else
pcsc_demo_LDADD = -lpcsclite pcsc_demo_LDADD = -lpcsclite
endif endif
@ -30,7 +29,7 @@ endif
openssl_tcp_demo_SOURCES = openssl-tcp-demo.cxx openssl_tcp_demo_SOURCES = openssl-tcp-demo.cxx
openssl_tcp_demo_LDFLAGS = -L${top_builddir}/src openssl_tcp_demo_LDFLAGS = -L${top_builddir}/src
if MINGW32 if MINGW32
openssl_tcp_demo_LDADD = -leay32 openssl_tcp_demo_LDADD = /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/i586-mingw32msvc/lib/libeay32.a
else else
openssl_tcp_demo_LDADD = -ldl -lpthread -lssl openssl_tcp_demo_LDADD = -ldl -lpthread -lssl
endif endif
@ -38,7 +37,7 @@ endif
openssl_ssl_demo_SOURCES = openssl-ssl-demo.cxx openssl_ssl_demo_SOURCES = openssl-ssl-demo.cxx
openssl_ssl_demo_LDFLAGS = -L${top_builddir}/src openssl_ssl_demo_LDFLAGS = -L${top_builddir}/src
if MINGW32 if MINGW32
openssl_ssl_demo_LDADD = -leay32 openssl_ssl_demo_LDADD = /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/i586-mingw32msvc/lib/libeay32.a
else else
openssl_ssl_demo_LDADD = -ldl -lpthread -lssl openssl_ssl_demo_LDADD = -ldl -lpthread -lssl
endif endif

@ -0,0 +1,13 @@
./bootstrap.sh && \
LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \
CPPFLAGS="-I/opt/local/i586-mingw32msvc/include" \
./configure \
--prefix=/opt/local/i586-mingw32msvc \
--build=x86_64 \
--host=i586-mingw32msvc && \
make && \
sudo make install && \
make clean && \
./configure && \
make check && \
sudo make install
Loading…
Cancel
Save