delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/30/14:15:11

From: Martin Ambuhl <mambuhl AT earthlink DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Need for Math library
Date: Wed, 30 Sep 1998 14:12:01 -0400
Organization: Nocturnal Aviation
Lines: 12
Message-ID: <36127470.77E81A86@earthlink.net>
References: <Pine DOT SOL DOT 3 DOT 91 DOT 980929155546 DOT 14291A-100000 AT mercury> <36117E06 DOT 13063A1B AT cartsys DOT com> <6utc8f$76c$2 AT news DOT kornet DOT nm DOT kr>
NNTP-Posting-Host: 1cust225.tnt9.nyc3.da.uu.net
Mime-Version: 1.0
X-Posted-Path-Was: not-for-mail
X-ELN-Date: Wed Sep 30 11:09:18 1998
X-Mailer: Mozilla 4.06 [en] (Win95; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Yu Jaemin wrote:
> 
> FYI, 'gcc -lm test.c'
>           ~~~
> 
> can link math library to your program.

FYI, the correct order is 'gcc test.c -lm'

-- 
Martin Ambuhl (mambuhl AT earthlink DOT net)
Note: mambuhl AT tiac DOT net will soon be inactive

- Raw text -


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