Repository navigation
How do people feel about splitting the unified BSD operating system setting into 4 specific ones? #2810
Replies: 1 comment 3 replies
So, why doesn't PortAudio use
They don't expose the same APIs, they expose an overlap of APIs but there are unique APIs exposed for the different systems. Additionally, they're distinct because you can only cross-compile for them from macOS. As for your original suggestion of splitting up |
Uh oh!
There was an error while loading. Please reload this page.
Since a long time Premake supports BSD to a minimal extent with a single
bsdoperating system.However the BSD variants are actually completely distinct operating systems unlike e.g. Linux distributions. The tool chains mostly follow the universal POSIX conventions, but details differ. My concrete use case is linking the PortAudio library:
Of course I can add extra custom options to tell the OS apart, but it doesn't seem very consistent/clean. OS detection wouldn't work out of the box Also if this was the way to go... why isn't a single apple target right now but instead e.g.
tvosis distinct? Afterall to my knowledge these platforms act mostly interchangably exposing the same APIs (not an Apply guy though, your milage might vary).So my proposal is to add the 4 distinct BSD systems
FreeBSD,NetBSD,OpenBSDandDragonFlyBSD. Also I would remove thebsdcatchall. This is the only thing I am not so sure about, because it's technically a breaking change. If this is deemed to disruptive, there could be a graceperiod or thebsdkept in addition indefinitely.All reactions