Hello,
I have successfully added the -m32 flags to C, CPP and Fortran compilers. ./configure seems to work. However, when I run make -j5 I eventually get a make error: Liboctave/system/lo-sysdep.cc:32:19: fatal error: codecvt: No such file or directory #include<codecvt>
Is there a known fix for this issue?
Thank you, John F On Apr 10, 2022, at 4:56 PM, Dmitri A. Sergatskov <dasergatskov@gmail.com> wrote:
Please reply to the list. You need to provide flags for C, C++, and Fortran compilers. For gcc/clang the flag is "-m32" Try some kind of "Hello world" program first to make sure you got them right.
Dmitri. --
I tried passing CFLAG=“-mcpu=i686” I also tried CFLAG=“-march =i686”
But I still got the same BLAS and LAPACK error. Thanks, John Hello,
I am attempting to build a recent version of octave as a 32--bit i686 package for RHEL 7. I have installed the BLAS and LAPACK packages but ./configure does not detect the libraries. I have the 32 bit packages including the -devel packages installed as seen below:
I have also tried passing the library paths in ./configure option as: ./configure --prefix=/home/jferreira/builds/octaveCompile --with-blas=/usr/lib/libblas.so --with-lapack=/usr/lib/liblapack.so
I still get: configure: error: BLAS and LAPACK libraries are required.
Any help would be appreciated.
Did you tell your compiler to build i686 binary?
Dmitri. --
|