Inside3D!
     

Compiling Quake with MinGW

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
Stroggos



Joined: 14 Apr 2009
Posts: 43

PostPosted: Tue Jun 23, 2009 2:22 am    Post subject: Compiling Quake with MinGW Reply with quote

Im moving off of MSVC and i want to compile the Quake source with MinGW and was wondering is it sraight forward or not. And if not how can you?
_________________
Dont even try to port Quake 4 to the ipod
Back to top
View user's profile Send private message
sp4x0r



Joined: 21 Jul 2008
Posts: 6

PostPosted: Thu Jun 25, 2009 9:30 am    Post subject: Reply with quote

This may not be exactly what you're looking for, but I'm a complete noob and managed to compile Dark Places with MinGW (I found it easier to do that than use MSVC). I followed the instructions here:
http://alientrap.org/forum/viewtopic.php?t=2351
Back to top
View user's profile Send private message
reckless



Joined: 24 Jan 2008
Posts: 390
Location: inside tha debugger

PostPosted: Thu Jun 25, 2009 12:54 pm    Post subject: Reply with quote

some of it is pretty straight mingw understands a lot of the ms options, but bear in mind that the win32api headers are somewhat different.

one hard nut to crack is if you try to compile from the original glquake sources since the asm code uses masm which weirdly enough uses unix style asm code that gets ported to microsoft format with "gas2masm" so you will have to skip the conversion and compile the asm code with the mingw assembler as.exe directly.

you will also run into some type definition problems due to the win32 api headers when compiling with directx "mingw uses different includes" so some reordering is nessesary.

difficulty depends a bit on if you're doing it from the shell "Msys"
or using an IDE like codeblocks.

and lastly some preprocessor options need to be changed to a format gcc understands.

but its pretty doable Smile if you want real hard then try open watcom Wink

been trying to port the sources to it like forever and it still fails Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group