GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #6301

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: levi@localhost.nc3a.nato.int
Subject: compiling gpc
Date: 4 Sep 2001, 14:59:43

Hello,
Alternately, immediately after 'configure' command in gpc-build directory,

Check 'gcc-version.h '  file contained in gpc-build/gcc/ directory.
If it is empty just add,
#define EGCS
#define ECGS92
#define EGCS95
Then proceed onto make. Ensure also gnu 'sed' is there in the path.
Hope it works for you
Thanks and Regards
hari

frank@g-n-u.de wrote:

> Theo Carr-Brion wrote:
>
> > I am trying to compile gpc20010623 with gcc 2.95.3 but the compiler
> > complains about the following.
> >
> > in gcc/tree.h:
> >
> > extern int lang_decode_option PROTO((int, char **));
> >
> > in gcc/p/lang.c:
> >
> > #ifdef EGCS
> > int lang_decode_option (argc, argv)
> >      int argc;
> >      char **argv;
> > {
> >   return pascal_decode_option (argc, argv);
> > }
> > #else /* not EGCS */
> > int
> > lang_decode_option (p)
> >      char *p;
> > {
> >   return pascal_decode_option (p);
> > }
> > #endif /* not EGCS */
> >
> > However, I am not using EGCS but gcc 2.95.3. Is comething configured
> > incorrectly?
>
> In GPC's terminology, "EGCS" is everything newer than gcc-2.8.1,
> therefore including 2.95.3 (ask Peter why ;-).
>
> There's a problem in config-lang.in that mis-detects the GCC version
> on systems with crippled versions of sed or grep. I've fixed it long
> time ago (and the patch was posted here several times), but Peter
> hasn't gotten around to uploading it yet. Perhaps he'll manage to
> RSN.
>
> Apart from that, you can look for the fix in the list archives, or
> install GNU grep/sed and reconfigure.
>
> Frank
>
> --
> Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/
> GPC To-Do list, latest features, fixed bugs:
> http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html

File attachment

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Frank Heckenbach compiling gpc 4 Sep 2001, 03:31:15

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).