Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile to 64bit #26

Closed
Mortennn opened this issue Sep 21, 2019 · 5 comments
Closed

Compile to 64bit #26

Mortennn opened this issue Sep 21, 2019 · 5 comments

Comments

@Mortennn
Copy link

I noticed Blueutil is compiled in 32bit which means it won't work on macOS Catalina. Would it be possible to release a 64bit build?

@Mortennn Mortennn changed the title Compile to 64bit? Compile to 64bit Sep 21, 2019
@toy
Copy link
Owner

toy commented Sep 21, 2019

Hi Morten.
The project itself is currently distributed only as source files, this was touched a bit more in #23.
I've checked what should one get from macports and brew, and both should give you 64 bit binary (at least for 10.14).
I've also checked the project configuration file and there is nothing about architectures, it was cleaned up as one of first commits c0fc5e4, so unless one explicitly compiles for i386, he should be getting a 64 bit executable.
Do you compile yourself or do you get the binary from somewhere?

@Mortennn
Copy link
Author

Go64 detected Blueutil as a 32 bit binary, but it must be a false positive then.

Thank you for your answer.

@toy
Copy link
Owner

toy commented Sep 21, 2019

Could you please check the binary you have using file, so running file /path/to/blueutil (file $(which blueutil))?
Weird how could they detect it wrong, it is not even an app bundle with possibility of multiple binaries inside.

@Mortennn
Copy link
Author

Mortennn commented Sep 21, 2019

I was actually using a 32 bit binary.

/usr/local/bin/blueutil: Mach-O universal binary with 2 architectures: [ppc_7400:Mach-O executable ppc_7400] [i386:Mach-O executable i386]
/usr/local/bin/blueutil (for architecture ppc7400):	Mach-O executable ppc_7400
/usr/local/bin/blueutil (for architecture i386):	Mach-O executable i386

But after overwriting a symlink I got the 64 bit binary.

/usr/local/bin/blueutil: Mach-O 64-bit executable x86_64

Maybe I have had Blueutil install in the past, but I don't know.

@toy
Copy link
Owner

toy commented Sep 22, 2019

Yes, looks like you had some old binary installed on your system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants