| delorie.com/archives/browse.cgi | search |
| From: | nxk3 AT dante DOT student DOT cwru DOT edu (Natarajan Krishnaswami) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: What is happening ????? |
| Date: | 4 Feb 1997 21:36:04 GMT |
| Organization: | Case Western Reserve University, Cleveland OH (USA) |
| Lines: | 16 |
| Message-ID: | <slrn5ffaso.b4u.nxk3@dante.student.cwru.edu> |
| References: | <32f253f2 DOT 517889 AT news DOT flashnet DOT it> <01bc10c4$155d4600$30520cce AT Pbrainstorm DOT lightspeed DOT bc DOT ca> |
| Reply-To: | nxk3 AT dante DOT cwru DOT edu |
| NNTP-Posting-Host: | dante.student.cwru.edu |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
>Eolo Perfido <eolop AT mbox DOT vol DOT it> wrote in article ><32f253f2 DOT 517889 AT news DOT flashnet DOT it>... >> c:\develop\bin>gcc a1.cc -o a1.exe -lm (compiling command, is it >> ok??) No. :) More specifically, if you want to compile C code it is OK, but for C++ code, you need to either link in the C++ library (-lstdcx, if memory serves), or, still better, use g++ (I think it's 'gxx' under DOS...) instead of 'gcc'. Good Luck, N.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |