From: "Aaron J. Barnes" Newsgroups: comp.os.msdos.djgpp Subject: question regarding executable size and linking Date: Wed, 12 Nov 1997 15:10:22 -0500 Organization: Internet Maine, Inc. Lines: 26 Message-ID: <64d2e8$l9b$1@news.ime.net> NNTP-Posting-Host: 209.90.195.21 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I realize that this problem is due to my own ignorance, but if anyone would be willing to give me a solution it would be greatly appreciated. When I compile a simple "Hello, World!" program with DJGPP (gcc) I get the following error (running under Win95 / DOS): gcc.exe: Compilation of header file requested This is the command line I am using: gcc hello.cpp -o hello.exe -liostream.h I tried the following, which *does* create an executable, but at well over 180K: gcc hello.cpp -o hello.exe -lstdcx The latter is the exact command line that is used when you make and executable from within RHIDE. So, my question is: how is it possible to simply link a single file (i.e. iostream.h). Thanks much in advance. -Aaron