Provided by GNU Savannah

Savannah CVS Surfing - project aeskulap - View of /aeskulap/README.mingw32

[aeskulap] / aeskulap / README.mingw32
cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/aeskulap co aeskulap/README.mingw32
(to check out web pages for a project, replace /sources with /web in the path above)

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (annotate)
Wed Apr 25 19:51:39 2007 UTC (2 years, 6 months ago) by braindead
Branch: MAIN
CVS Tags: release-0-2-2-beta1, HEAD
- MINGW32 cross-compilation fixes and instructions
Compilation instructions for Aeskulap on MINGW32
------------------------------------------------

This document describes the cross-compilation process
from Linux for Windows using the MINGW32 cross-compiler.

First you have to install the MINGW32 cross-compiler:
-----------------------------------------------------

I did this under Debian and Ubuntu where the mingw32 package is available.
TODO - instructions for other distributions


Get the DCMTK binaries for MINGW32:
-----------------------------------

Download the binary package from:
http://www.bms-austria.com/~pipelka/aeskulap/dcmtk-mingw32/dcmtk-mingw32-bin.zip

Unzip the package into the /usr/mingw32 directory (has to be created first).


Get the GKTMM development environment for MINGW32:
--------------------------------------------------

Download the package from:
http://www.bms-austria.com/~pipelka/aeskulap/gtkmm-mingw32/gtkmm-mingw32.zip

Unzip contents of the GTK dir (inside the package) into the /usr/mingw32 directory.


Create the pkg-config environment:
----------------------------------

Paste the following script into /usr/bin/i586-mingw32msvc-pkg-config
and make it executable:

#!/bin/sh

oldprefix=/target
prefix=/usr/mingw32

output=`PKG_CONFIG_LIBDIR=${prefix}/lib/pkgconfig /usr/bin/pkg-config "$@"`
result=$?

echo -n ${output} | sed -e "s|-\([IL]\)${oldprefix}|\-\1${prefix}|g"
exit $result 


Get the Aeskulap sources from CVS:
----------------------------------

cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/aeskulap co aeskulap


Compile the sources:
--------------------

cd aeskulap
sh autogen.sh
./configure.mingw32
make

After that you may install the binary with:

make install (as root)

or

make install-strip (as root)
This will strip all debugging information and dramatically reduce the size of the binary.

Send suggestions and report system problems to the Savannah Hackers.
ViewVC Help
Powered by ViewVC 1.0.7