Octave.app 64-bit?

Richard L. Hamilton rlhamil at smart.net
Fri Oct 11 15:46:18 UTC 2019


This might explain what's happening:

sh-3.2$ file /Applications/MacPorts/Octave.app/Contents/MacOS/Octave
/Applications/MacPorts/Octave.app/Contents/MacOS/Octave: POSIX shell script text executable, ASCII text

What would usually be the application executable is a shell script wrapper; maybe that's preventing certain utilities from determining the bit-ness of the app, or from doing so correctly.


sh-3.2$ cat /Applications/MacPorts/Octave.app/Contents/MacOS/Octave
#!/bin/sh

/opt/local/bin/octave-5.1.0 --gui "$@"


Examining the executable called by the wrapper:

sh-3.2$ file /opt/local/bin/octave-5.1.0
/opt/local/bin/octave-5.1.0: Mach-O 64-bit executable x86_64


it's 64-bit (at least in the precompiled port for Mojave).  All the rest of the executables and dynamic libraries in the package appear to be 64-bit too.  I didn't look inside static libraries, but I don't imagine they'd be any different.


> On Oct 11, 2019, at 11:14, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> I asked the question because EtreCheck Pro reports /Applications/MacPorts/Octave.app to be 32-bit. On the other hand, macOS System
>  Information > Software does not list octave at all, either as 32-bit or as 64-bit!
> 
> Command
> 
> port -v installed octave
> 
> does show archs='x86_64' but it was unclear to me whether that applies to the octave.app front end to the octave engine.
> 
>> On 11 Oct2019, at 8:00 AM, macports-users-request at lists.macports.org <mailto:macports-users-request at lists.macports.org> wrote:
>> 
>> Date: Thu, 10 Oct 2019 22:25:03 +0100
>> From: Christopher Jones <jonesc at hep.phy.cam.ac.uk <mailto:jonesc at hep.phy.cam.ac.uk>>
>> To: MacPorts Users <macports-users at lists.macosforge.org <mailto:macports-users at lists.macosforge.org>>
>> Subject: Re: Octave.app 64-bit?
>> 
>> Unless you are installing something universal, or i386, it will be 64 bit (i.e. x86_64 arch).
>> 
>> ( Also, by construction, if the port finds and runs on macOS 10.15 it will have to be 64 bit… )
>> 
>>> On 10 Oct 2019, at 10:12 pm, Murray Eisenberg <murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>> wrote:
>>> 
>>> Is the current version of octave.app, installed with octave+app, 64-bit and hence compatible with Catalina?
>>> 
>>> if not, what are the prospects?
>>> 
>>> In general, is there any way to tell which macports ports are, or are not, 64-bit?
>>> 
>>> ---
>>> Murray Eisenberg			murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
>> 
>> ------------------------------
>> 
>> Date: Thu, 10 Oct 2019 17:46:52 -0400
>> From: "Bill Cole" <macportsusers-20171215 at billmail.scconsult.com <mailto:macportsusers-20171215 at billmail.scconsult.com>>
>> To: macports-users at lists.macports.org <mailto:macports-users at lists.macports.org>
>> Subject: Re: Octave.app 64-bit?
>> 
>> On 10 Oct 2019, at 17:25, Christopher Jones wrote:
>> 
>>> Unless you are installing something universal, or i386, it will be 64 
>>> bit (i.e. x86_64 arch).
>> 
>> Also, you can check the architecture of whatever is actually installed 
>> with:
>> 
>>  port -v installed <portname>
> 
> ---
> Murray Eisenberg			murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
> 503 King Farm Blvd #101	Home (240)-246-7240
> Rockville, MD 20850-6667	Mobile (413)-427-5334
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20191011/a476ae11/attachment.html>


More information about the macports-users mailing list