delorie.com/archives/browse.cgi | search |
From: | Andris <pavenis AT lanet DOT lv> |
Organization: | Pavenis |
To: | djgpp AT delorie DOT com, Uwe Homm <uhomm AT gmx DOT de> |
Subject: | Re: DJGPP/RHIDE on W2K |
Date: | Mon, 9 Sep 2002 17:12:43 +0300 |
User-Agent: | KMail/1.4.7 |
References: | <3D7CD1D4 DOT 5C95D85C AT gmx DOT de> |
In-Reply-To: | <3D7CD1D4.5C95D85C@gmx.de> |
MIME-Version: | 1.0 |
Message-Id: | <200209091712.44430.pavenis@lanet.lv> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g89HAf810713 |
Reply-To: | djgpp AT delorie DOT com |
Viestissä Maanantai 09 Syyskuu 2002 19:52, Uwe Homm kirjoitti: > Hi NG, > > i installed the above mentioned components and then i built the typical > "Hello, world". > > I got some errors and i cannot interpret them. The compiler tells me > something about backward-warnings in the file iostream.h which i > included > > So i read somewhere around in the textfiles and i found that i should > replace > > #include <iostream.h> > > with > > #include <iostream> > > Ok. But now i get the message that cout is undeclared. :((( It's in std namespace. Get some recent book about C++ > > If i set the compiler-option with "-Wno-deprecated" (told in iostream.h > as workaround) it works fine. But the EXE is pretty big. > > My Hello.exe has a size of about 1.450KB. Using stdio and printf > produces an EXE of about 95KB. Use of C++ stdandard library causes a lot of debug information to be included. You can try to strip executable if You want and get smaller executables. Also try getting some executables packer (for example UPX) Andris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |