Replies: 1 comment
-
Like you mentioned, the biggest hurdle is that on Linux, linking is often dependent on which system you are linking on. For example, which version of a library you link to depends on what libraries you have installed. There is also the question of whether static-linking or dynamic-linking should be preferred for libraries that could be either. For example, projects that depend on Since most Linux distros prefer everything as a dynamic library, this makes things complicated. Both the developer system and user system often need to have dynamic libraries installed using the distro's package manager (which can serve different or outdated versions of libraries, which may be incompatible with the expected ones). There's also the question of which libc to use, musl or glibc? Most linux distros have a preference. Those are kind of the issues standing in the way of quickly adding cross compilation support to Linux. It also isn't the highest priority at the moment, as the standalone Ubuntu compiler is good enough for targeting Linux and there are other areas of the language that are more urgent to fix and improve before revisiting this issue. Feel free to make a PR though |
Beta Was this translation helpful? Give feedback.
-
There is no new update: #14
This is difficult. Because there is only one Windows, but that's not the case with Linux. Different Linux distros will use different libraries.
Beta Was this translation helpful? Give feedback.
All reactions