View previous topic :: View next topic |
Author |
Message |
Stroggos
Joined: 14 Apr 2009 Posts: 43
|
Posted: Tue Jun 23, 2009 2:22 am Post subject: Compiling Quake with MinGW |
|
|
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 |
|
 |
sp4x0r

Joined: 21 Jul 2008 Posts: 6
|
Posted: Thu Jun 25, 2009 9:30 am Post subject: |
|
|
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 |
|
 |
reckless
Joined: 24 Jan 2008 Posts: 390 Location: inside tha debugger
|
Posted: Thu Jun 25, 2009 12:54 pm Post subject: |
|
|
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 if you want real hard then try open watcom
been trying to port the sources to it like forever and it still fails  |
|
Back to top |
|
 |
|