delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/17/06:16:05

Date: Mon, 17 Nov 1997 13:14:33 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: NELS COBBEY <nelscobbey AT usa DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Need help: gcc compilation error: "...cannot exec 'cpp': No such file or directory..."
In-Reply-To: <19971117075801.13443.qmail@db01.netaddress.usa.net>
Message-ID: <Pine.SUN.3.91.971117130943.2890A-100000@is>
MIME-Version: 1.0

On Mon, 17 Nov 1997, NELS COBBEY wrote:

> (1) I am unable to compile a simple c program, using the gcc command.
[snip]
> DJGPP=C:\Nels\programming\DJGPP\DJGPP.env
                ^^^^^^^^^^^
This is explained in the DJGPP FAQ list (v2/faq210b.zip from the same
place you downloaded DJGPP), section 8.1: you cannot use long file names
in the setting of the DJGPP environment variable, since DJGPP startup 
code processes that variable *before* it turns on its long file name
support.

You need to use the short 8+3 alias of that name, something like this:

  set DJGPP=C:\Nels\progra~1\DJGPP\DJGPP.env

(Use the DIR command to see the exact short name of the directory 
`programming'.)

- Raw text -


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