Is PhysicsFS platform-independent?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 04:56:06

问题


I'm thinking about using PhysicsFS in my game engine project, but I'd like to first make sure it's entirely platform-independent. That's because I'd like to port my engine to some rather obscure platforms after I'm done with the Windows code (Wii Homebrew, for example).


回答1:


In accordance with the official specs the developers provide on their site it:

Compiles/runs on GNU/Linux (x86, PPC, MIPS, Sparc, Alpha, Itanium, and x86-64 tested; gcc). Compiles/runs on Windows, Win95 and later (x86 tested; Visual C++, Visual Studio, Cygwin, and MinGW). Compiles/runs on Mac OS X (x86 and PPC tested; XCode).

And even

May compile and run elsewhere with little to no modification. Success stories and patches are welcome.

So the answer is Yes, it is platform-independent.

Update from April, 20 2011

Following @rubenvb advice, I'd better define it as a cross-platform library. That's because PhysicsFS library utilizes #ifdefs and provides particular implementations for Windows, BeOS / Haiku, Mac OS X, OS/2, PocketPC, POSIX and UNIX platforms.



来源:https://stackoverflow.com/questions/5688902/is-physicsfs-platform-independent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!