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!

Well, you need this DLL and the import-library (you can use gendef and
dlltool for import-library generation). You can't combine 32-bit and
64-bit binaries. No way.

>
> 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/

What is ilp64 (sizeof (int) == sizeof (long) == sizeof (void *) == 8)
??!? x64 is llp64 (sizeof (long long) == sizeof (void *) == 8).

Cheers,
Kai
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

------------------------------------------------------------------------------

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

Reply via email to