From: Yu Jaemin Newsgroups: comp.os.msdos.djgpp Subject: Re: Need for Math library Date: 30 Sep 1998 23:58:39 GMT Organization: Korea Telecom Lines: 20 Sender: Yu Jaemin Message-ID: <6uugjf$nr6$1@news.kornet.nm.kr> References: <36117E06 DOT 13063A1B AT cartsys DOT com> <6utc8f$76c$2 AT news DOT kornet DOT nm DOT kr> <36127470 DOT 77E81A86 AT earthlink DOT net> NNTP-Posting-Host: soback.kornet.nm.kr User-Agent: tin/pre-1.4-980105 (UNIX) (SunOS/5.5.1 (sun4u)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Martin Ambuhl wrote: > 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 well....I'm sorry for that. but gcc -lm xxx.c is also working, isn't it? Jaemin