Sender: nate AT cartsys DOT com Message-ID: <3612EFA5.E5C10AED@cartsys.com> Date: Wed, 30 Sep 1998 19:57:41 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: AMITEC CC: dj Subject: Re: help! References: <199809300630_MC2-5B1F-7A46 AT compuserve DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit AMITEC wrote: > > I am using a GNU c compiler for the first time. Does the compiler produce > object code ? If you use the `-c' option, yes; otherwise it normally makes an executable. gcc -o hello.exe hello.c > How do I link object code to a library ? Normally, you install the library in the `lib' subdir of DJGPP, and add it to the link line with `-l', stripping the beginning `lib' and the trailing `.a'. Example: copy libfoo.a \djgpp\lib gcc -c -o bar.o bar.c # Compile to an object file. gcc -o bar.exe bar.o -lfoo > Is there a make > utility ? Yes; appropriately enough it's called `make'. You can get it as `makNNNb.zip' from where you got DJGPP, where NNN is the version number; I believe the current version is 3.77. A lot of this is explained in README.1ST and in the FAQ; please read them! -- Nate Eldredge nate AT cartsys DOT com