Git Product home page Git Product logo

Comments (10)

MichalStrehovsky avatar MichalStrehovsky commented on July 29, 2024 4

No mac, sorry. Apple arbitrarily breaks their ecosystem every now and then and I don't have the energy or desire to playing catchup with that. I would need to buy an ARM64 Mac to be relevant and figure out all the new garbage that comes with that (All Mac binaries now have to be signed? How do you crosscompile from Windows/Linux to a signed mac binary? etc.)

from bflat.

vitalyster avatar vitalyster commented on July 29, 2024 1

The "cross-platform" environment without the real cross-platform support, Microsoft classics!

from bflat.

MichalStrehovsky avatar MichalStrehovsky commented on July 29, 2024 1

Yep - I've been watching Jakub's work there - maybe once/if someone makes Zig's linker a standalone tool, it could replace lld in bflat. lld is getting too bloated for my taste (the old version I ship with bflat is 40 MB, but the latest are now 60+ MB (?!)).

from bflat.

jakehl avatar jakehl commented on July 29, 2024 1

Completely fair. From what I've read so far AOT doesn't work with macos yet anyway - I would love to get a proof of concept up and running when it is ready. I would be happy to donate the cost of the developer license to the project if that changes anything, although I understand needing hardware to test it on also comes into play.

Edit: fwiw, most foss projects don't tend to sign their builds with developer licenses. It's pretty common when installing software on macos to have to ignore the fact that macos does not trust the app.

from bflat.

joethephish avatar joethephish commented on July 29, 2024

Fair enough! I can sympathise with all these things.

On signing, you could just leave that to the developer as a part of their release process? Agreed that it’s a pain though.

Will continue to dream, bflat looks fantastic.

from bflat.

andreakarasho avatar andreakarasho commented on July 29, 2024

Linux can crosscompile osx with this https://github.com/tpoechtrager/osxcross
Never tried honestly.
I hope it can be useful in somehow

from bflat.

MichalStrehovsky avatar MichalStrehovsky commented on July 29, 2024

The "cross-platform" environment without the real cross-platform support, Microsoft classics!

This is not a Microsoft project. This is something I do in my spare time. I don't understand the comment.

Linux can crosscompile osx with this https://github.com/tpoechtrager/osxcross

Looking through the docs, it looks like it requires extracting SDK libraries out of Mac with xcode installed. It has a big "Please ensure you have read and understood the Xcode license terms before continuing.". It's not exactly in the ballpark of "efforless crosscompilation" that bflat is shooting for. Crosscompilation with a bunch of hacks and manual steps is also possible with NativeAOT.

from bflat.

joethephish avatar joethephish commented on July 29, 2024

Not sure whether there's any way to integrate the two, but https://github.com/ziglang/zig has been making some great strides with cross-compilability (if that's even a word!), including support for mac's ARM64 chips without requiring Xcode tools to be installed (e.g. they wrote their own linker).

from bflat.

jakehl avatar jakehl commented on July 29, 2024

@MichalStrehovsky Sorry to comment on an old issue, but I thought it better than opening a new one. I understand your frustrations with the mac ecosystem. Would you accept PR's that introduce mac support or are you outright against the idea?

from bflat.

MichalStrehovsky avatar MichalStrehovsky commented on July 29, 2024

Would you accept PR's that introduce mac support or are you outright against the idea?

I wouldn't be able to maintain it. I don't own any Apple hardware. E.g. I test the arm64 builds of bflat on a $35 Raspberry Pi. $35 wouldn't be even enough to join their developer program so that macOS doesn't claim bflat is malware.

from bflat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.