www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/13/23:37:07

From: locke AT mcs DOT net (Peter Johnson)
Newsgroups: comp.os.msdos.djgpp
Subject: Quake Source Code
Date: Thu, 13 Feb 1997 22:51:17 GMT
Organization: BiLogic
Lines: 28
Message-ID: <330398f6.615629@news>
Reply-To: locke AT mcs DOT net
NNTP-Posting-Host: locke.pr.mcs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

1) I'm talking about the real C / asm source code to Quake.
2) No, I don't know where you can get it.  Yes, I have it.
3) For those who have the source, use these nifty steps to make it
using djgpp v2.00 or 2.01.  Also, there is a stupid error that gas
will complain about in d_copy.S.  It's really easy to fix (took me
about 30 secs to find and fix it).

THIS IS NOT THAT HARD!
here are the steps to take:
1) do a 'basic' (only filenames) directory of all the source files.
2) eliminate all the non-dos ones (mostly graphics and sys_* ones)
3) compile the .s files as .S (reason: gcc needs to run them thru C
pre-processor)
4) link.

I made a batch file that compiled & linked quake using these steps.
Took me about 1 hour.  For crying out loud, how hard can it be!

-------------------------------------
Peter Johnson
-------------------------------------
locke AT mcs DOT net
http://locke.home.ml.org
-------------------------------------
Freelance C/C++/Pascal/Asm programmer
 for DJGPP, Borland, and Watcom compilers
Member of BiLogic demo group
-------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019