Message-ID: <38FA6A8B.E56DDD3C@jps.net> From: Dennis Yelle X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Where is atoll()? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 32 Date: Sun, 16 Apr 2000 18:36:11 -0700 NNTP-Posting-Host: 216.119.44.86 X-Complaints-To: abuse AT onemain DOT com X-Trace: nntp3.onemain.com 955935249 216.119.44.86 (Sun, 16 Apr 2000 21:34:09 EDT) NNTP-Posting-Date: Sun, 16 Apr 2000 21:34:09 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I see that C:\DJGPP\INCLUDE\STDLIB.H contains the line long long atoll(const char *_s); but when I try to compile this program: -------------- cut here ------------------- #include #include int main() { long a = atol( "555"); long long x = atoll( "777"); return a && x; } ----------------- cut here --------------- with this command line: gxx -O2 -Wall lltest.cpp -o lltest.exe I get this: c:/djgpp/tmp\ccWMYo4F.o(.text+0x27):lltest.cpp: undefined reference to `atoll' collect2: ld returned 1 exit status So, is atoll() missing from your library? Or is mine installed wrong? Dennis Yelle P. S. info does not seem to have any information about atoll().