From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Derbyshire To: egcs@egcs.cygnus.com, egcs-bugs@egcs.cygnus.com Subject: Bug in libm or libstdc++. Date: Sun, 28 Feb 1999 22:53:00 -0000 Message-ID: <3.0.6.32.19990222090333.00847df0@pop.globalserve.net> X-SW-Source: 1999-02n/msg01225.html Message-ID: <19990228225300.hY0_Bl6ad4_SPcnP_7RXU9q7vV0Lov5mW8G5XyOgV-w@z> C:\PGD\C++\omega\ofc>gcc ntst.cc -o ntst.exe -Wall -lm -lstdcxx c:/djgpp/tmp/cc5PNfut.o(.text+0x51):ntst.cc: undefined reference to `atan(long double)' c:/djgpp/tmp/cc5PNfut.o(.text+0xa8):ntst.cc: undefined reference to `exp(long double)' c:/djgpp/tmp/cc5PNfut.o(.text+0xef):ntst.cc: undefined reference to `log(long double)' c:/djgpp/tmp/cc5PNfut.o(.text+0x136):ntst.cc: undefined reference to `log(long double)' c:/djgpp/tmp/cc5PNfut.o(.text+0x17d):ntst.cc: undefined reference to `sqrt(long double)' What the hell? Stroustrup 3rd Ed definitely informs me that long double overloads for these and other functions are supposed to be in either libm or libstdc++. Using egcs 1.1.1 and the libm and libstdc++ that came with it. -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ------------------------------------------------- -- B. Mandelbrot | http://surf.to/pgd.net _____________________ ____|________ Paul Derbyshire pderbysh@usa.net Programmer & Humanist|ICQ: 10423848|