octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34822] Mingw panics on a simple complex produ


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #34822] Mingw panics on a simple complex product
Date: Mon, 23 Jan 2012 07:06:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7

Follow-up Comment #7, bug #34822 (project octave):

For the ATLAS, I have not gotten successful result for the cross compiling.  I
have been used a tricky technique to build the ATLAS.

First I have built gcc + gfortran (4.3.4) on the cygwin without any cygwin
specific patches.



cd build

../gcc-4.3.4/configure  --disable-bootstrap --enable-static --enable-shared
--enable-shared-libgcc --enable-__cxa_atexit --with-gnu-ld --with-gnu-as
--with-dwarf2 --disable-sjlj-exceptions --enable-languages=c,c++,fortran
--disable-symvers --enable-libgomp --enable-libssp --enable-threads=posix
--with-arch=i686 --with-tune=generic --with-gmp --with-mpfr
--prefix=/usr/local/gcc-4.3.4np

make
make install


With this gcc, I can build the ATLAS libraries which can be linked the MinGW
gcc.


#**gcc-4.3.4np
export PATH=/usr/local/gcc-4.3.4np/bin:$PATH
gcc -v ; gfortran -v
cd "E:usrTatsucyghome-1.7atlasatlas-3.9.19build4"

../ATLAS-3.9.19/configure -t 1 

make
make install


copy lib*.a /usr/local/atlas/lib to the appropriate directory.

Then 


gfortran -shared-libgcc -shared 
-Wl,--enable-auto-import 
-Wl,--enable-runtime-pseudo-reloc-v2 
-Wl,--allow-multiple-definition 
-Wl,--out-implib=libblas.dll.a -o libblas.dll 
-Wl,--output-def=libblas.exp 
-Wl,--whole-archive libf77blas.a 
-Wl,--no-whole-archive libatlas.a


You can get libblas.dll and libblas.dll.a

The reason why I use the ATLAS 3.9.19 is a mere incident.

I have tried the recent version of the ATLAS but the builds have been in
failure.

I will upload the libblas optimized for Core i5-2400 CPU @ 3.10 GHz on my web
site.

I will continue to struggle with the ATLAS and the OpenBLAS.

The Matrix calculation seem to depend on the combination the BLAS and the CPU
on the PC.
We may have to prepare sevral kind of BLAS packages for the END user.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34822>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]