[Top][All Lists]

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

Re: oct (and mex) files for different architectures

From: Jordi Gutiérrez Hermoso
Subject: Re: oct (and mex) files for different architectures
Date: Mon, 12 Sep 2011 08:30:20 -0500

On 12 September 2011 08:14, Richard Crozier <address@hidden> wrote:
> On Matlab, I can compile several different mex files for different machine
> architectures and Matlab will call the appropriate one for the local setup.
> The compiled mex files are given appropriate extensions e.g. mexa64 for
> 64bit linux, mexglx for 32 bit linux, mexw32 for 32 bit windows etc.
> Is the equivalent possible for oct files (or mex files created in Octave)?

Not currently, no. I find that putting the architecture in the
filename extension is a little weird to begin with. Why don't you see
.exe64 and .exe extensions for Windows executables? Can't you just
recompile and distribute your oct files for the architecture you need
them? I get the feeling that Matlab lets you do that because people
don't like recompiling and/or don't like source code.

- Jordi G. H.

reply via email to

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