2010/5/14 Tony Theodore <to...@logyst.com>

> On 15 May 2010 05:28, Doug Semler <dougsem...@gmail.com> wrote:
> > 2010/5/14 Tony Theodore <to...@logyst.com>:
> >> 2010/5/15 Mario Rodríguez <shi...@gmail.com>:
> >>> Hi,
> >>>
> >>> I want to use *MKL*`s lapack & BLAS in my *mingw* project.
> >>>
> >>> I use this libraries for 32 bits linking: mkl_intel_c_dll.lib,
> >>> mkl_intel_thread_dll.lib, mkl_core_dll.lib. In 32b arquitecture, it´s
> >>> enought adding this files names at the end of the g++ linking line.
> >>>
> >>> But in 64 bits (using mingw-w64 project), it show me undefined
> >>> references in all blas/lapack calls. I use:
> >>>
> >>> -mkl_intel_lp64_dll.lib
> >>> -mkl_intel_thread_dll.lib
> >>> -mkl_core-dll.lib
> >>>
> >>> It is possible to do? Maybe using dlltool/reimp or some tool similar?
> >>>
> >>> Thanks in advance!
> >>
> >> Try the link advisor [1], selecting Linux to see the gcc options, to
> >> get some hints - and see the common errors [2] . Note also, you
> >> probably want ilp64 not lp64.
> >>
> >> Cheers,
> >>
> >> Tony
> >>
> >> [1]
> http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
> >> [2]
> http://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-linux-common-linking-errors/
> >>
> >
> > No, the Mingw 64 target is  llp64, not ilp64...it's 32bit longs for
> > x64 targets. (sizeof(long) == 4, sizeof(long long) == 8, sizeof(void*)
> > == 8)...ilp64 is sizeof(long) == 8, which is wrong...
>
> Ah, I see, thanks. It's just that Intel recommend ilp64, even though
> they ship both libs - maybe they should distribute the source ;)
>
> Tony
>

which one should I use? I`ve tested
mingw-w64-bin_i686-mingw_20100515_sezero.zip<http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/sezero_20100515/mingw-w64-bin_i686-mingw_20100515_sezero.zip/download>(the
last one) and others from "Automated builds", but they have gcc 4.4.
Which one solve this issue?

Thanks a lot!
------------------------------------------------------------------------------

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to