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

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

[Octave-bug-tracker] [bug #29794] --enable-64 keeps OCTAVE_IDX_TYPE=int


From: Alois Schlögl
Subject: [Octave-bug-tracker] [bug #29794] --enable-64 keeps OCTAVE_IDX_TYPE=int
Date: Fri, 07 May 2010 09:18:20 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9

Follow-up Comment #3, bug #29794 (project octave):

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) 

address@hidden:~/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. 



    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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