[GiNaC-list] Woe32 build
Kaveh Vahedipour
k.vahedipour at fz-juelich.de
Sun Nov 7 10:01:26 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Rubens,
Building the win32 is not that tough.
I user mingw-w32 with debian.
# ==== Set following environment f.e. for bash:
TARGET=i586-mingw32msvc
HOST=x86_64-unknown-linux-gnu
CXX=${TARGET}-g++
CC=${TARGET}-gcc
CPPFLAGS=-I/your/choice/win32/include
CXXFLAGS="$CPPFLAGS -O3"
CFLAGS=$CXXFLAGS
LDFLAGS=-L/your/choice/win32/lib
PREFIX=/your/choice/win32
export CC CXX CPPFLAGS CXXFLAGS CFLAGS LDFLAGS TARGET HOST
# ==== configure and build CLN with
./configure --target=$TARGET --host=$HOST --enable-shared --prefix=$PREFIX && make && make install
# ==== configure GiNaC:
CLN_CFLAGS=$CPPFLAGS
CLN_LIBS="$LDFLAGS -lcln"
export CLN_CFLAGS CLN_LIBS
./configure --target=$TARGET --host=$HOST --enable-shared --prefix=$PREFIX && make && make install
Cheers,
Kaveh.
On Nov 7, 2010, at 3:09 AM, Rubens Matos wrote:
> Hello to everyone, I'm trying to use the Windows build of ginac,
> provided by Alexei Sheplyakov, but my code uses some functions that
> are specific from ginac 1.5 and cln 1.3, while he used ginac 1.4.4 and
> cln 1.2.2. I've tried to contact him, but without success.
>
> I know that the windows build is not an "official" release, but could
> anyone give me some help about how to build windows DLLs of ginac
> using the sources?
>
> I am using the Linux build perfectly, but the tool I'm developing also
> has a Windows version, so building these DLLs would be very important.
>
> Thank you in advance,
>
> Rubens Matos
> _______________________________________________
> GiNaC-list mailing list
> GiNaC-list at ginac.de
> https://www.cebix.net/mailman/listinfo/ginac-list
- ---
Kaveh Vahedipour
Institute of Neuroscience and Medicine
Medical Imaging Physics
Forschungszentrum Juelich GmbH
52425 Juelich
Germany
Phone: +49-2461-611921
Fax: +49-2461-611919
E-mail: k.vahedipour at fz-juelich.de
Web: http://www.fz-juelich.de/inm/inm-4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
iEYEARECAAYFAkzWausACgkQFWIkraPoGKdIlgCfb8+l0QCtHxQGxoAFZkQH96Pf
7yQAn2+cl25ocJNmyT4orEBAxAuVq6Lq
=pP2D
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
More information about the GiNaC-list
mailing list