From: "CJ" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Run Error, need help! Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Thu, 15 Mar 2001 00:45:18 GMT NNTP-Posting-Host: 63.146.45.114 X-Complaints-To: Abuse Role , We Care X-Trace: newshog.newsread.com 984617118 63.146.45.114 (Wed, 14 Mar 2001 19:45:18 EST) NNTP-Posting-Date: Wed, 14 Mar 2001 19:45:18 EST Organization: IlliCom Telecommunications (illicom.net) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote in message news:Pine DOT SUN DOT 3 DOT 91 DOT 1010313115137 DOT 10085B-100000 AT is... > > On Mon, 12 Mar 2001, CJ wrote: > > > > Please add -v to the link command line and post here everything that the > > > compiler prints. > > > > Huh?...I am just clicking link in the pull down menu > > Then turn on the -v option in the pane that lets you specify the > compilation and link options. (I don't use RHIDE, so I cannot tell > how to do that, exactly.) Ok..I think I got what you asked me to do correct. The code is the simple "hello world" code. #include int main() { cout << "Hello World!\n"; return 0; } when I compile, it says no errors, when i go to link it says: c:/djgpp/bin/ld.exe -o hello.exe c:/djgpp/lib/crt0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/2.81 -Lc:/dj gpp/bin -Lc:/djgpp/lib hello.o -lstdcx -Tdjgpp.djl -lgcc -lc -lgcc c:/djgpp/bin/stubify.exe -v hello.exe The error was: Invalid argument (EINVAL) no errors