| delorie.com/archives/browse.cgi | search |
| Xref: | news-dnh.mv.net comp.os.msdos.djgpp:2409 |
| Path: | news-dnh.mv.net!mv!news.sprintlink.net!in2.uu.net!news1.digital.com!decwrl!waikato!comp.vuw.ac.nz!tao.sans.vuw.ac.nz!empty |
| From: | empty AT sans DOT vuw DOT ac DOT nz (Malcolm Taylor) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: can't compile c++ |
| Date: | 4 Oct 1995 03:24:53 GMT |
| Organization: | SANS, Student Access Network System |
| Lines: | 23 |
| References: | <DFtp04 DOT 2uw AT jade DOT mv DOT net> |
| Nntp-Posting-Host: | tao.sans.vuw.ac.nz |
| To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
Chris A. Rodgers (car AT wwa DOT com) wrote: : Please let me know what I should check or change to get c++ working. There is actually a very simple answer to this (not requireing that info). If you use any of the c++ classes then you need to explicitly link to the c++ library: gcc -c somefile.cc gcc -o somebin someobj.o ... -lgpp or gcc -o .... -liostr The libiostr.a is smaller than libgpp.a and has different copyright resrictions (look in the faq or info or docs for info on this). Malcolm : Thanks! : ---------------------------------------------------------------------- : _ _ : / |_ ._ o _ /\ |_) _ _| _ _ ._ _ Software Engineer : \_| || |_> /--\o | \(_)(_|(_|(/_| _> car AT wwa DOT com : _|
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |