<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Thanks Jonas,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Although it was painful as heck, I managed to create a working Makefile. Well, I haven’t tested the final build yet, but at least it compiles.</div> <br> <div id="bloop_sign_1434200539096185856" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Pauli Jokela, Didstopia</div></div> <br><p class="airmail_on" style="color:#000;">Päällä 13. kesäkuuta 2015 klo 14.48.44, Jonas Thiem (<a href="mailto:jonasthiem@googlemail.com">jonasthiem@googlemail.com</a>) kirjoitti:</p> <blockquote type="cite" class="clean_bq"><span><div bgcolor="#FFFFFF" text="#000000"><div></div><div>




<title></title>


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.<br>
<br>
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.<br>
<br>
I had to do the same when cross-compiling Box2D because again,
cmake. Gladly, SDL still maintains autoconf..<br>
<br>
<div class="moz-cite-prefix">On 06/13/2015 12:05 PM, Pauli Jokela
wrote:<br></div>
<blockquote cite="mid:etPan.557c0074.41c08bc9.16a@Pauli-iMac.local" type="cite">
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
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.</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
So far I haven’t succeeded. At all.</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
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.</div>
<div class="bloop_container">
<div class="bloop_frame"></div>
</div>
<br>
<div id="bloop_sign_1434189832510479872" class="bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">
-- <br>
Pauli Jokela, Didstopia</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
physfs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:physfs@icculus.org">physfs@icculus.org</a>
<a class="moz-txt-link-freetext" href="http://icculus.org/mailman/listinfo/physfs">http://icculus.org/mailman/listinfo/physfs</a>
</pre></blockquote>
<br>


_______________________________________________<br>physfs mailing list<br>physfs@icculus.org<br>http://icculus.org/mailman/listinfo/physfs<br></div></div></span></blockquote></body></html>