[physfs] Compiling with MinGW on Linux
Jonas Thiem
jonasthiem at googlemail.com
Sat Jun 13 07:16:24 EDT 2015
Sadly, my experience with cmake is that it's horrible for
cross-compiling, which is why I refuse to use it for any of my own projects.
I have successfully compiled PhysFS for windows, and I can recommend to
just hack your custom Makefile. Add all source files as object files,
maybe try to guess or steal the -llinkedlibrary flags from a cmake run
from a native linux box, and then just compile it using your own
Makefile for things.
I had to do the same when cross-compiling Box2D because again, cmake.
Gladly, SDL still maintains autoconf..
On 06/13/2015 12:05 PM, Pauli Jokela wrote:
> I’ve tried for several days/weeks now to compile PhysFS on a Linux
> box, with MinGW, to product both 32- and 64-bit Windows builds.
>
> So far I haven’t succeeded. At all.
>
> Could someone either provide me with CMake files for MinGW, or point
> me in the right direction? Compiling with MinGW under Windows is not
> an option, as this has to be done on a Linux system.
>
> --
> Pauli Jokela, Didstopia
>
>
> _______________________________________________
> physfs mailing list
> physfs at icculus.org
> http://icculus.org/mailman/listinfo/physfs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20150613/dd6702a6/attachment.html>
More information about the physfs
mailing list