delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/17/14:57:35

Date: Sat, 17 Feb 2001 21:50:23 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: rpolzer AT web DOT de (Rudolf Polzer)
Message-Id: <3099-Sat17Feb2001215021+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <slrn98ti7t.h8q.rpolzer@rebounce.rpolzer-lx>
Subject: Re: Newbie with invalid argument
References: <20010217111622 DOT 24753 DOT 00001357 AT ng-fl1 DOT aol DOT com> <slrn98ti7t DOT h8q DOT rpolzer AT rebounce DOT rpolzer-lx>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: rpolzer AT web DOT de (Rudolf Polzer)
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 17 Feb 2001 19:54:53 +0100
> > 
> > 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

??? If at all relevant, this is backwards: C++ programs need to be
linked with gxx or gpp, not gcc.

In any case, even using gcc, you should never see EINVAL and the error
message cited by the OP (see above).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019