Mail Archives: djgpp/1997/08/19/08:49:37
On 18 Aug 1997, Atte Koivula wrote:
> I just deleted and re-installed DJGPP only to find out it's somehow screwed
> up. I've installed all the necessary packages mentioned on Brennan's DJGPP
> page (apart from the pklite-type thing and I installed a newer version of
> the GNU BinUtils), but something isn't right... I can't even compile a
> simple "Hello World!"-program without adding -liostream (I'm using
> C++-syntax, meaning I've included iostream.h and I'm using cout instead of
> printf) as a compilation parameter.
This is how it's supposed to work. If you use C++ classes, you need
either to add -liostream or use gxx instead of gcc.
If you are already using gxx, please post the command line, the error
message(s), your DJGPP.ENV, the listing of the environment variables,
and the rest of the works.
- Raw text -