Date: Tue, 9 Aug 1994 16:27:15 -0400 From: Kimberley Burchett To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: (fwd) DJGPP and math functions. Newsgroups: comp.lang.c,comp.os.msdos.programmer I picked this up from comp.lang.c and am forwarding it to the list. I told the person who posted it this list is where it should have gone... Anyway, I'm posting it here because I can't figure out his problem either. Newsgroups: comp.lang.c,comp.os.msdos.programmer Path: sundog.tiac.net!usenet.elf.com!news2.near.net!MathWorks.Com!news.duke.edu!news-feed-1.peachnet.edu!umn.edu!gold!wrig0025 From: wrig0025 AT gold DOT tc DOT umn DOT edu (Mark S Wright) Subject: DJGPP and math functions. Message-ID: Sender: news AT news DOT cis DOT umn DOT edu (Usenet News Administration) Nntp-Posting-Host: gold2.tc.umn.edu Organization: University of Minnesota Date: Tue, 9 Aug 1994 15:43:33 GMT Lines: 12 Xref: sundog.tiac.net comp.lang.c:100426 comp.os.msdos.programmer:41687 I'm having some odd problems with djgpp. I'm trynig to compile a program that compiles successfully with Borland C. But when I try to compile it with djgpp I get "undefined reference to atan, acos, fabs, pow10, etc..." errors. I've tried the -lm option, and my LIBRARY_PATH variable points to libm.a, but no matter what I try I get the same error. Sigh... Any help is much appreciated. -- "The real surprise, and Bertolucci's best achievement here, is the performance of Prince Siddhartha by Keanu Reeves. That is not a misprint." - Stanley Kaufman, The New Republic. Mark Wright wrig0025 AT gold DOT tc DOT umn DOT edu -- Kimberley (OKRA AT max DOT tiac DOT net)