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 <[email protected]> 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, [email protected] 
>> <mailto:[email protected]> wrote:
>> 
>> Date: Thu, 10 Oct 2019 22:25:03 +0100
>> From: Christopher Jones <[email protected] 
>> <mailto:[email protected]>>
>> To: MacPorts Users <[email protected] 
>> <mailto:[email protected]>>
>> 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 <[email protected] 
>>> <mailto:[email protected]>> 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                    [email protected] 
>>> <mailto:[email protected]>
>> 
>> ------------------------------
>> 
>> Date: Thu, 10 Oct 2019 17:46:52 -0400
>> From: "Bill Cole" <[email protected] 
>> <mailto:[email protected]>>
>> To: [email protected] 
>> <mailto:[email protected]>
>> 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                      [email protected] 
> <mailto:[email protected]>
> 503 King Farm Blvd #101       Home (240)-246-7240
> Rockville, MD 20850-6667      Mobile (413)-427-5334
> 
> 

Reply via email to