From: Martin Ambuhl 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: <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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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