Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 25 Online
OpenStudy (anonymous):

My question is that , let us say i have made software,such as game,then how could I make it to be fully executable in any platform whether mac,window,or etc?

OpenStudy (anonymous):

I don't think you can unless your code is. I mean It depends on how well you written your program. If you have used functions which require a specific platform, then you are in cannot. For example in C if you have used system() function, clearly you cannot execute it on mac. (system function let's you execute shell commands, you will need to include windows header). Otherwise it's just a matter of how you compile it.

OpenStudy (anonymous):

It all depends in what language you made it. Most of languages they are cross-plattaform and if you didn't use an specific function from the operating system like arijoon said then you're ok. But tell us about what language did you use and if you're looking for an stand-alone application or just a simple script... Greets!

OpenStudy (anonymous):

That is in python programming language

OpenStudy (anonymous):

Ok as far I understand you're looking for a stand-alone application, you need to use a python library for make it executable in different OS. Like if you're using python 2.x you can take a look at two resources for it "py2exe for creating a .exe executable on Windows Systems and py2app for creating an .app executable on Mac OS X systems". I'm not sure if they've been port to 3.x but if they aren't take a look to "cx_Freeze that it supports for both operating systems and even Linux". I hope this help, greets! Source: http://www.py2exe.org/ http://packages.python.org/py2app/ http://cx-freeze.sourceforge.net/

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!