www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/07/17/11:48:24

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
Message-Id: <3.0.32.19980717133911.0092e360@xs4all.nl>
X-Sender: diep AT xs4all DOT nl (Unverified)
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Fri, 17 Jul 1998 13:39:13 +0000
To: beastium-list AT Desk DOT nl
From: Vincent Diepeveen <diep AT xs4all DOT nl>
Subject: pgcc 2.91.34 doesn't work
Mime-Version: 1.0
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 176

--=====================_900682753==_
Content-Type: text/plain; charset="us-ascii"

Hello,

Please see my Err.txt file which i attach using MIME hope that you guys
can read that.

It contains what i did in order to install pgcc, and then the errors i get
when compiling with it.

Before i installed pgcc i had a working gcc 2.7.2.3 (redhat 5.1), which
compiled my source code correctly.

Thanks in advance for your help,
Vincent
--=====================_900682753==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="Err.txt"

Hello PGCC doesn't compile when including headerfiles. I'll describe
what i did: i reinstalled linux completely with gcc 2.7 (redhat 5.1)

When i installed pgcci used next tar files:

[root AT localhost /root]# cd /
[root AT localhost /]# ls -l --color
total 14546
drwxr-xr-x   2 root     root         2048 Jul 14 15:08 bin
drwxr-xr-x   2 root     root         1024 Jul 14 15:59 boot
drwxr-xr-x  32 root     root        16384 Jan  1  1970 c
drwxr-xr-x  83 root     root        16384 Jan  1  1970 d
drwxr-xr-x   2 root     root        21504 Jul 17 13:05 dev
drwxr-xr-x  21 root     root         2048 Jul 17 13:06 etc
drwxr-xr-x   2 root     root         1024 Feb  6  1996 home
drwxr-xr-x   4 root     root         2048 Jul 14 15:07 lib
drwxr-xr-x   2 root     root        12288 Jul 14 15:02 lost+found
drwxr-xr-x   4 root     root         1024 Jul 14 15:58 mnt
-rwxr-xr-x   1 root     root      3563520 Jul 17 03:05 pg__-1~1.tar
-rwxr-xr-x   1 root     root      2314240 Jul 17 03:05 pgcc-1~1.tar
-rwxr-xr-x   1 root     root      2693120 Jul 17 03:05 pgcc-d~1.tar
-rwxr-xr-x   1 root     root      2662400 Jul 17 03:05 pgcc-s~1.tar
-rwxr-xr-x   1 root     root      1710080 Jul 17 03:05 pgccob~1.tar
-rwxr-xr-x   1 root     root      1802240 Jul 17 03:05 pgccob~2.tar
dr-xr-xr-x   5 root     root            0 Jul 17  1998 proc
drwxr-xr-x   2 root     root         1024 Jul 17 13:07 root
drwxr-xr-x   3 root     root         2048 Jul 14 15:08 sbin
drwxrwxrwt   3 root     root         1024 Jul 17 13:21 tmp
drwxr-xr-x  19 root     root         1024 Jul 14 15:05 usr
drwxr-xr-x  12 root     root         1024 Jul 14 15:06 var
[root AT localhost /]#=20

I installed these tar files by typing for every tarfile from this '/'=20
directory:

 tar -vxf tarfile

Then is seems to be installed correctly seemingly, as it says when i=20
type gcc --version:

  pgcc-2.91.34

----------------------------------------------------------------------------=
--

then compiling starts, and directly it gives this error.
At line 4 of diepab.c the next line is there:
  #include <stdio.h>

What have i done wrong?
If i do gcc --version i get:
  pgcc-2.91.34

btw i'm logged on as root

----------------------------------------------------------------------------=
-


gcc -pipe -D_REENTRANT -mpentiumpro -O6 -Wall -c diepab.c
In file included from diepab.c:4:
/usr/include/stdio.h:0: numeric constant with no digits
/usr/include/stdio.h:0: warning: unrecognized text at end of #line
In file included from /usr/include/stdio.h:29,
                 from diepab.c:4:
/usr/include/libio.h:0: numeric constant with no digits
/usr/include/libio.h:0: warning: unrecognized text at end of #line
In file included from /usr/include/libio.h:29,
                 from /usr/include/stdio.h:29,
                 from diepab.c:4:
/usr/include/features.h:0: numeric constant with no digits
/usr/include/features.h:0: warning: unrecognized text at end of #line
/usr/include/features.h:104: invalid #line
In file included from /usr/include/features.h:193,
                 from /usr/include/libio.h:29,
                 from /usr/include/stdio.h:29,
                 from diepab.c:4:
/usr/include/sys/cdefs.h:0: numeric constant with no digits
/usr/include/sys/cdefs.h:0: warning: unrecognized text at end of #line
In file included from /usr/include/sys/cdefs.h:22,
                 from /usr/include/features.h:193,
                 from /usr/include/libio.h:29,
                 from /usr/include/stdio.h:29,
                 from diepab.c:4:
/usr/include/features.h:0: numeric constant with no digits
/usr/include/features.h:0: warning: unrecognized text at end of #line
/usr/include/features.h:19: numeric constant with no digits
/usr/include/features.h:19: numeric constant with no digits
/usr/include/features.h:19: invalid #line
/usr/include/features.h:21: numeric constant with no digits
/usr/include/features.h:21: numeric constant with no digits
/usr/include/features.h:21: invalid #line
/usr/include/features.h:32: numeric constant with no digits
/usr/include/features.h:32: numeric constant with no digits
/usr/include/features.h:32: invalid #line
/usr/include/features.h:47: numeric constant with no digits
/usr/include/features.h:47: numeric constant with no digits
/usr/include/features.h:47: invalid #line
/usr/include/features.h:68: numeric constant with no digits
/usr/include/features.h:68: numeric constant with no digits
/usr/include/features.h:68: invalid #line
In file included from /usr/include/features.h:83,
                 from /usr/include/sys/cdefs.h:22,
                 from /usr/include/features.h:193,
                 from /usr/include/libio.h:29,
                 from /usr/include/stdio.h:29,
                 from diepab.c:4:
/usr/include/gnu/stubs.h:0: numeric constant with no digits
/usr/include/gnu/stubs.h:0: warning: unrecognized text at end of #line
/usr/include/gnu/stubs.h:31: numeric constant with no digits
/usr/include/gnu/stubs.h:31: numeric constant with no digits
/usr/include/gnu/stubs.h:31: invalid #line
/usr/include/gnu/stubs.h:36: numeric constant with no digits
/usr/include/gnu/stubs.h:36: numeric constant with no digits
/usr/include/gnu/stubs.h:36: invalid #line
In file included from /usr/include/gnu/stubs.h:39,
                 from /usr/include/features.h:83,
                 from /usr/include/sys/cdefs.h:22,
                 from /usr/include/features.h:193,
                 from /usr/include/libio.h:29,
                 from /usr/include/stdio.h:29,
                 from diepab.c:4:
/usr/include/_G_config.h:0: numeric constant with no digits
/usr/include/_G_config.h:0: warning: unrecognized text at end of #line
In file included from /usr/include/_G_config.h:9,
                 from /usr/include/gnu/stubs.h:39,
                 from /usr/include/features.h:83,
                 from /usr/include/sys/cdefs.h:22,
                 from /usr/include/features.h:193,
                 from /usr/include/libio.h:29,
                 from /usr/include/stdio.h:29,
                 from diepab.c:4:
/usr/include/gnu/types.h:0: numeric constant with no digits
/usr/include/gnu/types.h:0: warning: unrecognized text at end of #line
/usr/include/gnu/types.h:25: parse error at null character



/usr/include/gnu/types.h:25: virtual memory exhausted
cpp: output pipe has been closed
make: *** [diepab.o] Error 1
[root AT localhost lin]#=20

------------------------------------------------------------------
doing 'gcc -O6 -c diepab.c' give the same errors and warnings

Vincent Diepeveen,
diep AT xs4all DOT nl

--=====================_900682753==_
Content-Type: text/plain; charset="us-ascii"



--=====================_900682753==_--

- Raw text -


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