The answer is a qualified "yes" if you use something like WINE to provide you with a nice compatibility layer.
The answer is definitely "no" if you simply copy the executable and try and run it.
The reason for writing in say C to begin with is so that you can just move the source code and recompile it for any type of machine, within the limits of the portable APIs you've chosen to use.
--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.