delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/22/08:00:21

From: Ian Miller <itmiller AT dera DOT gov DOT uk>
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: <Pine DOT OSF DOT 4 DOT 03 DOT 9809181644380 DOT 5924-100000 AT ruunf0 DOT phys DOT uu DOT nl> <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

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.

- Raw text -


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