This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling old source code
- To: oliva at lsd dot ic dot unicamp dot br (Alexandre Oliva)
- Subject: Re: Compiling old source code
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Wed, 5 Jan 2000 12:33:31 -0800 (PST)
- Cc: jhernan at maxwell dot fais dot upm dot es (Jose Felix Hernandez), gcc at gcc dot gnu dot org
On Dec 27, 1999, Jose Felix Hernandez <jhernan@maxwell.fais.upm.es> wrote:
>
> > I need an include file called std.h (on libgxx.tgz package, only for
> > slackware 3.4 or before).
Alexandre Oliva writes:
> You should install libg++, that's available in the GCC infrastructure
> ftp directory. It's no longer part of GCC.
Using libg++ is overkill. The old std.h is really just a combination of
<stdlib.h>, <string.h>, and possibly a few other standard headers. In
most cases, simply replacing
#include <std.h>
by references to stdlib.h, string.h and possibly unistd.h will result in
a correct program with all needed prototypes.