delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/20/20:59:32

From: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Error
Date: Mon, 20 Apr 1998 14:33:17 -0400
Organization: Cornell University (http://www.cornell.edu/)
Lines: 27
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <353B94ED.A1C70FC0@cornell.edu>
References: <6hfsu1$7us$1 AT o DOT online DOT no>
NNTP-Posting-Host: cu-dialup-2311.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Sten Karsten Vartdal wrote:
> 
> Hi, I'm trying to compile a program with DJGPP, but get this error:
> 
> gcc.exe: installation problem, cannot exec `cpp': No such file or 
> directory (ENOENT)

did you read README.1ST?
 
> I have downloaded and unziped the required files, the program is:
> 
> void main {
>   return 0
> }
> 
> What is wrong?

this is not the source of your problem, but why (wrongly) declare main
as _not_returning a value, and then return a value?

did you make sure to preserve the directory structure when unzipping
files?

did you make sure the environment variable djgpp points to where the
djgpp.env files is?

  -- Sinan

- Raw text -


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