compiling gpc

levi at localhost.nc3a.nato.int levi at localhost.nc3a.nato.int
Tue Sep 4 11:29:43 CEST 2001


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 at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kocherlakota.harikrishna.vcf
Type: text/x-vcard
Size: 214 bytes
Desc: Card for Kocherlakota Harikrishna
URL: <http://www.g-n-u.de/pipermail/gpc/attachments/20010904/6bb2d285/attachment-0001.vcf>


More information about the Gpc mailing list