[GiNaC-list] GiNaC on MinGW
Tatsuro MATSUOKA
tmacchant4 at yahoo.co.jp
Tue Feb 26 21:38:02 CET 2008
Dear Alexei Sheplyakov
(Sorry for I called your name wrong in the previous mail.)
Thank you for reply.
I will check again according to your advises.
Regards
Tatsuro
--- Alexei Sheplyakov <varg at theor.jinr.ru> wrote:
> Hi,
>
> On Tue, Feb 26, 2008 at 07:15:17PM +0900, Tatsuro MATSUOKA wrote:
>
> > This makes me Ginac-1.4.1 build successful.
>
> I'm sorry to confuse you, but as a matter of fact none of this tricks
> is necessary to build GiNaC on windows. I'll elaborate in a moment.
>
> > The pkg-config.exe has been gotten from the gimp tool kit.
> > So it does not understand the msys path.
>
> So one need to set PKG_CONFIG_PATH using windows paths, i.e.
>
> export PKG_CONFIG_PATH="C:/Programs/msys/1.0/local/cln-1.2.0/lib/pkgconfig"
>
> > Then I revise
> > cln.pc
> > prefix=C:/Programs/msys/1.0/local/cln-1.2.0
>
> Windows version of pkg-config overrides the `prefix' variable with
> the actuall installation directory anyway, so this is not necessary.
>
> > The libdl obtained from
> > dlfcn-win32
> > http://code.google.com/p/dlfcn-win32/downloads/list
>
> This is not necessary. compile_ex won't work on Windows anyway. (Hint:
> the ginac-excompiler script is Linux specific). And libgw32c already has
> dlopen and friends.
>
> > mktemp
> > from libgw32c in GnuWin32
>
> Likewise. It does *nothing* useful and confuses the configure script:
>
> configure:24479: checking for dlopen in -ldl
> configure:24514: g++ -o conftest.exe -g -O2 -I/mingw/include -I/usr/local/octave-3.0.0/include
> -I/GnuWin32/include -L/mingw/lib -L/usr/local/octave-3.0.0/lib -L/GnuWin32/lib -L/GnuWin32/bin
> conftest.cpp -ldl -lgw32c >&5
> configure:24520: $? = 0
>
> The configure scripts detects dlopen in libgw32c.dll and enables compile_ex,
> which is the WRONG thing.
>
> > and add
> > export LIB='-lgw32c -lcln -lgmp'
>
> You don't need pkg-config if you set the compiler and linker flags manually.
> Or the other way around: you don't need to set the compiler and linker flags
> manually if you use pkg-config.
>
> Best regards,
> Alexei
>
> --
> All science is either physics or stamp collecting.
>
> > _______________________________________________
> GiNaC-list mailing list
> GiNaC-list at ginac.de
> https://www.cebix.net/mailman/listinfo/ginac-list
>
--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/
More information about the GiNaC-list
mailing list