From: Ian Miller Newsgroups: comp.os.msdos.djgpp Subject: Re: To link or not to link??? Date: 22 Sep 1998 12:40:17 +0100 Organization: Defence Evaluation & Research Agency Message-ID: <871zp4s7dq.fsf@hasn.dera.gov.uk> References: <19980918105936 DOT 20548 DOT 00001286 AT ng119 DOT aol DOT com> NNTP-Posting-Host: 146.80.115.106 Lines: 27 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk uhfgood AT aol DOT com (Uhfgood) writes: > Thanks for your reply *yes* it *probably* is in the faq, however the faq and > all the documents are so long and unwieldly that I need help just to look at > 'em... So I ask certain questions and i look in the faq for others. :-) From the "long and unwieldy" readme.1st: [Quote] Compilation ----------- GCC is a command-line compiler, which you invoke from DOS command line. To compile and link a single-file C program, use a command like this: gcc myfile.c -o myfile.exe -lm The -lm links in the lib/libm.a library (trig math) if needed. [Unquote] RTFM Ian -- Ian Miller, Dorset, UK The views expressed above are those of the writer and do not represent the views, policy, or understanding of any other person or official body.