Comments (10)
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.
The "cross-platform" environment without the real cross-platform support, Microsoft classics!
from bflat.
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.
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.
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.
Linux can crosscompile osx with this https://github.com/tpoechtrager/osxcross
Never tried honestly.
I hope it can be useful in somehow
from bflat.
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.
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.
@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.
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)
- How to use the native DLL compiled by bflat with C++? HOT 1
- How to use bflat with make? HOT 1
- How to link the object files to get the final binary? HOT 1
- Comparison with DNNE? HOT 1
- how to link static libs?
- Support taking Visual Studio .sln and .csproj as input HOT 2
- How to specify C# lang version?
- What does --target Shared mean? a dotnet dll? or a plain .dll? or .so? HOT 3
- Commandline argument lengths limits may cause bflat unable to compile large projects HOT 3
- running sucessfully built linux executable prints `segmentation fault` HOT 2
- `bflat build --target Shared --os linux ...` throws exception, looks like an arg parsing bug. HOT 6
- Does bflat support source generator? HOT 2
- Use of ResourceManager for custom types is disabled. problem while reference .resource files. HOT 5
- The runtime directive ( .rd.xml) solution seems not working for Json.Net with bflat? HOT 1
- Can -r option also apply to static NativeLibrary(.lib)? HOT 1
- Building MOOS a native OS written in C# with BFLAT throws `'Expected type System.Runtime.InteropServices.Marshal' not found` in module 'MOOS' HOT 24
- how to pass linker args through --ldflags HOT 2
- Support for MSTAT/sizoscope
- How to reference COM dll in argument? HOT 2
- UEFI program compile error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bflat.