www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/25/16:01:41

From: Hans-Bernhard Broeker <broeker AT acp3bf DOT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Error with compiling
Date: 25 Jan 2000 14:32:14 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 38
Message-ID: <86kc5e$ell$1@nets3.rz.RWTH-Aachen.DE>
References: <86kabc$27m$1 AT news DOT netpower DOT no>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 948810734 15029 137.226.32.75 (25 Jan 2000 14:32:14 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 25 Jan 2000 14:32:14 GMT
User-Agent: tin/1.4-19991113 ("No Labels") (UNIX) (Linux/2.0.0 (i586))
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Netpower <kjelke AT netpower DOT no> wrote:
> hi

> I always get an error when I try to compile a sample project.

> The error I get is:

> gcc.exe: installation problem, cannot exec 'cc1' : No such file or directory
> (ENOENT)

That's somewhat strange, indeed. So gcc seems to have found its
preprocessor, cpp.exe, and the include files, but no the compiler
itself.

You have not provided any details of how your DJGPP installation looks
like, but this raises one particular suspicion, in me: You may have
unpacked each .zip to its own subdirectory, instead of having them all
spit their contents directly below the main DJGPP directory.

Check: in the name of the directory you added to your path, is there
any path component like 'gcc???b'? If so, that's your problem. Re-read
README.1st and unpack your whole DJGPP tree freshly, after deleting
the previous one.

Otherwise, read up on 'bug reports' in the DJGPP FAQ, and send us the
info it requests you to.

> The compiler finds the include files and I suppose it also finds the lib
> file. I've included all include. lib paths in the Rhide IDE preferences
> dialog.

That should never be necessary. RHIDE doesn't need to be told where
the DJGPP includes are, because gcc is able to find them on its own,
if it was unpacked correctly.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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