{"author_name":"jakkarth","cat":"LD  #18 - Enemies as Weapons - 2010","comments":[{"author_name":"Sos","time":"August 16, 2010 12:23 pm","epoch":1281979380,"text":"Get yourself MinGW cross compiler and wine, that shoudl do well enough. If you&#8217;re hardware-powerful, you can go VM as well. Linux GCC is a bully compared to MinGW, so porting to Windows is a piece of cake compared to opposite. Also, I&#8217;m Macless, so no tip from me there.","spam":"N"},{"author_name":"jakkarth","time":"August 16, 2010 3:22 pm","epoch":1281990120,"text":"MinGW appears to be exactly what I need for windows. My test application works on my windows box, my windows vm on ubuntu, and on ubuntu under wine. Now if I could just find something for OSX&#8230;","spam":"N"},{"author_name":"","time":"August 16, 2010 3:44 pm","epoch":1281991440,"text":"There&#8217;s a book by Brian Hook called Write Portable Code which has some good tips.","spam":"N"},{"author_name":"stqn","time":"August 17, 2010 6:25 am","epoch":1282044300,"text":"Well, if you use SDL and nothing more (besides libc&#8230;), you should have a hard time making your code *non*-portable ;). As long as you stick to x86 you don&#8217;t even have to care about byte order&#8230;","spam":"N"}],"epoch":1281979020,"likes":0,"metadata":{"p_key":"70372","p_author":"jakkarth","p_authorkey":"1823","p_urlkey":"106192","p_title":"Tips on porting?","p_cat":"LD  #18 - Enemies as Weapons - 2010","p_event":"LD18","p_time":"1281979020","p_likes":"0","p_comments":"4","p_status":"UPD5","us_key":"1823","us_name":"jakkarth","us_username":"jakkarth","event_start":"1282262400","event_key":"4","event_name":"LD18"},"text":"<p>I&#8217;m going to be developing on Linux with SDL. Last time around, lots of people wanted me to port my game to OSX and especially Windows. I&#8217;ll be coding in C\/C++. Anyone have any tips or guides on how to A) write portable code and B) on porting portable code to those platforms?<\/p>","time":"August 16th, 2010 12:17 pm","title":"Tips on porting?"}