delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/05/19:39:48

Sender: nate AT cartsys DOT com
Message-ID: <3759B416.22B1FEAD@cartsys.com>
Date: Sat, 05 Jun 1999 16:34:46 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Doubts of a Novice
References: <001001beaf9a$22958040$3a81e6c8 AT oemcomputer>
Reply-To: djgpp AT delorie DOT com

> José R. Moraes wrote:
> 
> The problem: I created the classical "Hello world" program saved as
> "Hello.c" in c:\djgpp, but I were unable to compile it using the
> command "gcc -o hello.exe hello.c" at the DOS prompt. The DOS window
> invariably reported "wrong command or file name".
> 
> I'm a complete novice both at C and DJGGP. After installing the
> package for Windows98 downloaded through Delorie's  file picker, I
> added lines to Autoexec.bat which now looks like this:
> 
> set DJGPP=C:\DJGPP\DJGPP.ENV
> set PATH=C:\DJGPP\BIN;%PATH%
> Share.exe /L:500
> C:\PC-CIL~1\PCSCAN.EXE C:\ C:\WINDOWS\COMMAND\ /NS /WIN95
> C:\PC-CIL~1\TSRSCAN.COM
> @ECHO OFF
> mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
> mode con codepage select=850
> keyb br,,c:\windows\COMMAND\keyboard.sys
> 
> Inside the folder c:\djgpp there is now the following unziped folders:
> alegro, bnu281b(1), djdev202, faq, gcc281b, gdb416b, gpp281b, info,
> igp2811b, mak377b, manifest, rhide14b, txi312b.
> 
> Can someone tell me if I have done something wrong?

Yes.  Don't unzip the files into their own separate folders.  Unzip them
all directly into c:\djgpp.

And please don't post in HTML.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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