Compatibility with older or uncommon OSes #8957
bonezinger
started this conversation in
General
Replies: 1 comment
-
First, by default V generates C99 compatible code as an intermediate step. Possibly C89... that was planned, but I don't know if it went through. This intermediate C code can be the final output (using So basically, whatever system you want to use it on must have a C compiler that is compatible with that. After that, it may or may not need some specific code for the particular OS... just as there are some code sections now that are different between mac/linux/windows. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given that it's possible to compile V as C code, I'd like to know if it's possible to write once and, supposing all your libraries don't rely on specific OS system calls, is it possible to have stuff done in V to be as compatible as C? For instance, writing something that can be run on Windows XP, SliTaz, Haiku and AROS (all of them on a x64 arch), by compiling as C instead? Or would that require specific work to ensure that V knows what functions to call for those OSes?
Beta Was this translation helpful? Give feedback.
All reactions