Message-ID: <38724F96.60CF2F37@NO.SPAM.PLEASE.nic.fi> From: Antti =?iso-8859-1?Q?Koskip=E4=E4?= X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Quake Source Code References: <6Qqc4.26359$E36 DOT 377318 AT news2-hme0> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 132 Date: Tue, 04 Jan 2000 21:52:54 +0200 NNTP-Posting-Host: 212.38.225.200 X-Trace: uutiset.nic.fi 947011766 212.38.225.200 (Tue, 04 Jan 2000 20:49:26 EET) NNTP-Posting-Date: Tue, 04 Jan 2000 20:49:26 EET Organization: NIC Tietoverkot Oy - NIC Data Networks Ltd. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Chris Murray wrote: > > Hi. I downloaded the Quake source code the other night, but I can't get it > to compile with DJGPP. I figure that it isn't a DJGPP port of the code, so > does anyone know where I could find one? > > Any help is greatly appreciated, > > Chris Murray Hi, I think I should repost my batch file: my compile process had a bug... First, you nee the winquake directory. From the beginning of sys_dos.c at line "static qboolean isDedicated;" you must remove the "static". Second, copy and execute this batch file: **** Begin compile.bat gcc -c %& cd_audio.c gcc -c %& chase.c gcc -c %& cl_demo.c gcc -c %& cl_input.c gcc -c %& cl_main.c gcc -c %& cl_parse.c gcc -c %& cl_tent.c gcc -c %& cmd.c gcc -c %& common.c gcc -c %& console.c gcc -c %& crc.c gcc -c %& cvar.c gcc -c %& d_copy.S gcc -c %& d_draw.S gcc -c %& d_draw16.S gcc -c %& d_edge.c gcc -c %& d_fill.c gcc -c %& d_init.c gcc -c %& d_modech.c gcc -c %& d_part.c gcc -c %& d_parta.S gcc -c %& d_polysa.S gcc -c %& d_polyse.c gcc -c %& d_scan.c gcc -c %& d_scana.S gcc -c %& d_sky.c gcc -c %& d_spr8.S gcc -c %& d_sprite.c gcc -c %& d_surf.c gcc -c %& d_vars.c gcc -c %& d_varsa.S gcc -c %& d_zpoint.c gcc -c %& dos_v2.c gcc -c %& dosasm.S gcc -c %& draw.c gcc -c %& host.c gcc -c %& host_cmd.c gcc -c %& in_dos.c gcc -c %& keys.c gcc -c %& math.S gcc -c %& mathlib.c gcc -c %& menu.c gcc -c %& model.c gcc -c %& mplib.c gcc -c %& mplpc.c gcc -c %& net_dgrm.c gcc -c %& net_dos.c gcc -c %& net_ipx.c gcc -c %& net_loop.c gcc -c %& net_main.c gcc -c %& net_mp.c gcc -c %& net_ser.c gcc -c %& net_vcr.c gcc -c %& net_bw.c gcc -c %& nonintel.c gcc -c %& pr_cmds.c gcc -c %& pr_edict.c gcc -c %& pr_exec.c gcc -c %& r_aclip.c gcc -c %& r_aclipa.S gcc -c %& r_alias.c gcc -c %& r_aliasa.S gcc -c %& r_bsp.c gcc -c %& r_draw.c gcc -c %& r_drawa.S gcc -c %& r_edge.c gcc -c %& r_edgea.S gcc -c %& r_efrag.c gcc -c %& r_light.c gcc -c %& r_main.c gcc -c %& r_misc.c gcc -c %& r_part.c gcc -c %& r_sky.c gcc -c %& r_sprite.c gcc -c %& r_surf.c gcc -c %& r_vars.c gcc -c %& r_varsa.S gcc -c %& sbar.c gcc -c %& screen.c gcc -c %& snd_dma.c gcc -c %& snd_dos.c gcc -c %& snd_gus.c gcc -c %& snd_mem.c gcc -c %& snd_mix.c gcc -c %& snd_mixa.S gcc -c %& surf16.S gcc -c %& surf8.S gcc -c %& sv_main.c gcc -c %& sv_move.c gcc -c %& sv_phys.c gcc -c %& sv_user.c gcc -c %& sys_dos.c gcc -c %& sys_dosa.S gcc -c %& vid_dos.c gcc -c %& vid_ext.c gcc -c %& vid_vga.c gcc -c %& view.c gcc -c %& vregset.c gcc -c %& wad.c gcc -c %& world.c gcc -c %& worlda.S gcc -c %& zone.c gcc -o %& quake.exe *.o **** End compile.bat Well, that "%&" is for 4DOS, so that I can pass multiple options to the compiler. Remove it if you don't use 4DOS. Happy fragging! -- - Antti - To reply, remove you-know-what.