From: Airhead Zoom - Programmer X-Priority: Normal Content-Type: text/plain To: ijh198 AT ecs DOT soton DOT ac DOT uk CC: djgpp AT delorie DOT com X-Mailer: Pronto Pro [ver 1.00 (0225)Trio] Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Message-ID: <04e574015140929MCIS2MAIL1@hetnet.nl> Date: 9 Feb 1999 15:15:41 +0100 Reply-To: djgpp AT delorie DOT com >I'm trying to write a 3D engine using DJGPP and GRX23, the problem is that >I can't get my C code to compile, as I don't know anything about linking >or Make files. Can anyone help. > >-=Ian=- Well, I don't have MAKE, but you can easily run GCC to compile your source with: GCC source.c -o object.o The -o swith makes gcc put the output into this file, it'll see the .o and know it should be an object file. When you want to link the files just use: GCC object1.o object2.o object3.o -o program.exe Or simply GCC *.o -o program.exe Now the -o switch indicates an executable. When I called the linker manually I always ended up in a fight with the linker, because I thought the library existed, and the linker thought it didn't. The GCC automatically links all library's you'll need. I personally use Borland's old MAKE utility with the GCC compiler. Works perfectly... Greetz, Airhead Zoom of Dancing Pumpkin Productions