Fri 07 May 2010 09:18:20 AM UTC, comment #3:
I read the thread on the issues of QR when --enable-64, but do not know how this is related.
I'm working on an 64bit ubuntu 9.10 system, and use
autoconf (GNU Autoconf) 2.64
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)
Here are the full details:
$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)
schloegl@bcipc038:~/src/octave$ autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
Running
./autogen.sh
./configure
make
or
./autogen.sh
./configure --enable-64
make
with the original configure.ac file will always result in
typedef int mwSize
typedef int mwIndex
(in src/mxarray.h line 88-98)
Can you explain, why this happens ?
When I modify configure.ac file with the suggested patch and run
./autogen.sh
./configure --enable-64
make
results in
typedef long mwSize
typedef long mwIndex
(in src/mxarray.h line 88-98) and properly working mex-files.
|