delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/27/13:59:30

Message-ID: <39D23C87.CFD787F0@softhome.net>
Date: Wed, 27 Sep 2000 20:29:27 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: C++ setup problems
References: <8qt99o$gen$1 AT ctb-nnrp2 DOT saix DOT net>
Reply-To: djgpp AT delorie DOT com

Gregory Harding wrote:
> I am experiencing the problem documented in the DJGPP FAQ under section 6.5
> (GCC - v2.95 - informs me that it is unable to locate "cc1plus.exe" or
> "cc1.exe" when attempting to compile C++ programs).

Which archives did you install? One of them should be gpp2952b.zip, which
contains the C++ compiler.

> Another question: I have noticed that programs using functions from the
> standard C libraries compile whether I put the appropriate include lines in
> or not. (eg. a program using random() works without #include <stdlib.h>).
> Why is this?

Header files like <stdlib.h> do not provide functions themselves; they
provide function prototypes instead. You should always include appropriate
header files when you use library functions, otherwise you'll get bugs.

Laurynas

- Raw text -


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