delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/27/16:04:13

From: <john AT jhadgraft DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Compile Trouble
Date: Tue, 27 Nov 2001 20:48:47 -0000
Lines: 22
Message-ID: <9u0u42$c23$1@news6.svr.pol.co.uk>
NNTP-Posting-Host: modem-353.bear.dialup.pol.co.uk
X-Trace: news6.svr.pol.co.uk 1006894018 12355 217.134.33.97 (27 Nov 2001 20:46:58 GMT)
NNTP-Posting-Date: 27 Nov 2001 20:46:58 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have set up the DJGPP compiler by setting the two paths in the
autoexec.bat.

I then created a program as follows

#include <iostream.h>

intmain()
{
    cout << "hello world!\n"
    return 0;
}

I the compile it without any errors however when i go to link it using
gxx -o myprog.exe hello.o.  It comes up with:
rename of myprog.000 to myprog.exe failed
the error was: invalid argument (EINVAL).

Can anyone tell me where i have gone wrong is it due to a missed step in
setting up the compiler.


- Raw text -


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