* Compiling old source code
@ 1999-12-27 11:02 Jose Felix Hernandez
1999-12-31 23:54 ` Jose Felix Hernandez
2000-01-05 12:22 ` Alexandre Oliva
0 siblings, 2 replies; 7+ messages in thread
From: Jose Felix Hernandez @ 1999-12-27 11:02 UTC (permalink / raw)
To: gcc
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
Hello,
I have to compile a source code. I hace compiled it with slackware
3.4 (a very old version), but the libraries and includes that i need
don't appear on later version or redhat.
I need an include file called std.h (on libgxx.tgz package, only for
slackware 3.4 or before).
I copied this include directly to my redhat 6.0 but i had several
problems with incorrect types ....
How must i compile this source code?
Thank you.
Best regards and good Y2K.
--
Jose F. Hernandez Barrio
Universidad Politécnica de Madrid
c/ Ronda de Valencia, 3
28012 Madrid - Spain
Tel: +34 91 336 68 86
^ permalink raw reply [flat|nested] 7+ messages in thread
* Compiling old source code
1999-12-27 11:02 Compiling old source code Jose Felix Hernandez
@ 1999-12-31 23:54 ` Jose Felix Hernandez
2000-01-05 12:22 ` Alexandre Oliva
1 sibling, 0 replies; 7+ messages in thread
From: Jose Felix Hernandez @ 1999-12-31 23:54 UTC (permalink / raw)
To: gcc
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
Hello,
I have to compile a source code. I hace compiled it with slackware
3.4 (a very old version), but the libraries and includes that i need
don't appear on later version or redhat.
I need an include file called std.h (on libgxx.tgz package, only for
slackware 3.4 or before).
I copied this include directly to my redhat 6.0 but i had several
problems with incorrect types ....
How must i compile this source code?
Thank you.
Best regards and good Y2K.
--
Jose F. Hernandez Barrio
Universidad Politécnica de Madrid
c/ Ronda de Valencia, 3
28012 Madrid - Spain
Tel: +34 91 336 68 86
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compiling old source code
1999-12-27 11:02 Compiling old source code Jose Felix Hernandez
1999-12-31 23:54 ` Jose Felix Hernandez
@ 2000-01-05 12:22 ` Alexandre Oliva
2000-01-05 12:36 ` Joe Buck
1 sibling, 1 reply; 7+ messages in thread
From: Alexandre Oliva @ 2000-01-05 12:22 UTC (permalink / raw)
To: Jose Felix Hernandez; +Cc: gcc
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).
You should install libg++, that's available in the GCC infrastructure
ftp directory. It's no longer part of GCC.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compiling old source code
2000-01-05 12:22 ` Alexandre Oliva
@ 2000-01-05 12:36 ` Joe Buck
2000-01-05 19:49 ` er-chan
0 siblings, 1 reply; 7+ messages in thread
From: Joe Buck @ 2000-01-05 12:36 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: Jose Felix Hernandez, gcc
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compiling old source code
2000-01-05 12:36 ` Joe Buck
@ 2000-01-05 19:49 ` er-chan
0 siblings, 0 replies; 7+ messages in thread
From: er-chan @ 2000-01-05 19:49 UTC (permalink / raw)
To: Joe Buck; +Cc: Alexandre Oliva, Jose Felix Hernandez, gcc
#ifndef _std_h
#define _std_h 1
#include <_G_config.h>
#include <stddef>
#include <cstdlib>
#include <cstring>
#include <unistd.h>
#include <cstdio>
#include <cerrno>
#include <fcntl.h>
extern "C" {
int strcasecmp _G_ARGS(( const char*, const char*));
}
#endif
On Wed, 5 Jan 2000, Joe Buck wrote:
> Date: Wed, 5 Jan 2000 12:33:31 -0800 (PST)
> From: Joe Buck <jbuck@synopsys.COM>
> To: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
> Cc: Jose Felix Hernandez <jhernan@maxwell.fais.upm.es>, gcc@gcc.gnu.org
> Subject: Re: Compiling old source code
>
>
> 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.
>
.-. \ o /
\ / ((_)) | _|
`----\--\' _-_ | >-< / \ \o
_\__\---'---`---.___ /o\ ___.---'---`---.___ ( \
\----._er-chan__.----` at '----._scn.org.----` o
____________/_/_ _ o _/ usa.net \_ /|\
/\ ___\o(_) (_) / \
| \ /) |
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compiling old source code
1999-12-28 16:55 Mike Stump
@ 1999-12-31 23:54 ` Mike Stump
0 siblings, 0 replies; 7+ messages in thread
From: Mike Stump @ 1999-12-31 23:54 UTC (permalink / raw)
To: gcc, jhernan
> Date: Mon, 27 Dec 1999 20:01:45 +0100
> From: Jose Felix Hernandez <jhernan@maxwell.fais.upm.es>
> I have to compile a source code.
> I need an include file called std.h (on libgxx.tgz package, only for
> slackware 3.4 or before).
I'd recommend porting your application to a newer system. If std.h is
your only problem, it should be trivial.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compiling old source code
@ 1999-12-28 16:55 Mike Stump
1999-12-31 23:54 ` Mike Stump
0 siblings, 1 reply; 7+ messages in thread
From: Mike Stump @ 1999-12-28 16:55 UTC (permalink / raw)
To: gcc, jhernan
> Date: Mon, 27 Dec 1999 20:01:45 +0100
> From: Jose Felix Hernandez <jhernan@maxwell.fais.upm.es>
> I have to compile a source code.
> I need an include file called std.h (on libgxx.tgz package, only for
> slackware 3.4 or before).
I'd recommend porting your application to a newer system. If std.h is
your only problem, it should be trivial.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-01-05 19:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-27 11:02 Compiling old source code Jose Felix Hernandez
1999-12-31 23:54 ` Jose Felix Hernandez
2000-01-05 12:22 ` Alexandre Oliva
2000-01-05 12:36 ` Joe Buck
2000-01-05 19:49 ` er-chan
1999-12-28 16:55 Mike Stump
1999-12-31 23:54 ` Mike Stump
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).