www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/01/14/19:15:29

From: MCheu <mpcheu AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp compiler v.2.03
Organization: Metronome
Message-ID: <ae992vs7rd270cdav2mv8t37vaf7d8ftmm@4ax.com>
References: <000a01c2bbfe$30340cc0$59330dd8 AT atherly>
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Lines: 35
Date: Tue, 14 Jan 2003 19:06:30 -0500
NNTP-Posting-Host: 209.188.65.46
X-Trace: localhost 1042589234 209.188.65.46 (Tue, 14 Jan 2003 17:07:14 MST)
NNTP-Posting-Date: Tue, 14 Jan 2003 17:07:14 MST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 14 Jan 2003 13:52:13 -0500, "v.atherly" <vatherly AT e-scape DOT net>
wrote:

>Hello,
>I've used the simple download (picker), to download
>the above compiler. Next, created a folder "DJGPP" in drive
>C, and unzipped all the files there.
>
>Next, edited the autoexec.bat as follows:
>set PATH=C:\DJGPP\BIN;%PATH%
>set DJGPP=C:\DJGPP|DJGPP.ENV

Check that last line.   That vertical bar should be a slash.   That
would be my first guess.

>
>Next, checked the file,"djgpp.env ", LFN is set to Y.
>Next, opened the editor "edit", wrote the "Hello world! .c
>program, saved it as .c ; and compiled it like so:
>C:\djgpp\bin\gcc-o hello.c -o hello.exe -lm.
>C:\djgpp\bin\gcc-o hello.exe hello.c.
>C:\djgpp\bin\gcc-v hello.c -o hello.exe.
>The compiler issued the following error:
>gcc.exe environment variable djgpp not defined.
>
>How do I resolve this error? I'm running Win ' 98 O/S.
>
>Thank you,
>
>V. Atherly.

-----------
Thanks

MCheu

- Raw text -


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