[Top][All Lists]

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

Re: mkoctfile and 64 bit

From: Rishi Amrit
Subject: Re: mkoctfile and 64 bit
Date: Fri, 29 Feb 2008 17:52:27 -0600

Since in the first email itself you mentioned about using octave 2.1 and octave 2.9. I wonder which one is the default. I know one thing for sure that when you compile a .cc file with mkoctfile, it will run in only that version of octave which you used the mkoctfile. So if you used mkoctfile 2.9 ... it will run in octave 2.9 only ! .So make sure your mkoctfile and octave versions are same.

On Fri, Feb 29, 2008 at 12:38 PM, Przemek Klosowski <address@hidden> wrote:
  I have just installed the 64-bit version of Ubuntu 7.10 on a PC with an
  Intel Q6660 CPU. Currently, I am not able to use
  functions compiled with mkoctfile. Although the compilation with

Somehow the mkoct file must be using the 32-bit compiler, generating
32-bit objects, which can't be linked with a 64-bit executable. You
must either use 32-bit octave, or recompile your .oct files using the
64-bit compiler.  which apparently isn't the default on your system
even though it should be on x86_64 Linux.  On my system (x86_64 fedora),
I get these results:

gcc -v
   Using built-in specs.
   Target: x86_64-redhat-linux

file oregonator.oct
   oregonator.oct: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped

What do you get on yours?

Help-octave mailing list

Rishi Amrit
DCBE, UW-Madison
EH2009, 1415 Engineering Dr.
Madison, WI - 53706
Tel: +1-608-265-8607
Fax: +1-608-265-8794
reply via email to

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