开发者

Is PhysicsFS platform-independent?

I'm thi开发者_如何学Pythonnking 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).


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜