Mail Archives: djgpp/2001/03/26/09:08:47
Mr. Veli Suorsa wrote:
> Thanks for your reply!
>
>
>>> ftp://agnes.dida.physik.uni-essen.de/home/maurice/gpc2952b.zip
>>
>> OK. I try to always give under this same link the lastest gpc snapshot I have
>> compiled, and which give zero error when running the whole test suite.
>
> I just updated gcc-2.95.3 version of Djgpp. Every other compiler seems to work
> well (Thanks to Andris).
>
> Can You update this Pascal compiler (gpc2953b.zip) and documentation and inform
> me (download site), too?
Mmm. There is something broken in gpc under gcc-2.9.5.3.
It compiles with snapshot gpc-20010315, but it gives lots of errors
when running the test suite. As a comparison I have compiled the same
snapshot under gcc-2.9.5.2 (the result is on agnes) and it gives zero error
for the test suite.
Briefly speaking:
when applying the patch contained in the p/diff directory (I have taken
the same diff as for gcc-295 -2951 -2952 which are identical), I get the
following messages
C:\djgpp\gnu\gcc-2.953\gcc>patch -p1 < p\diffs\gcc-2.95.3.diff
patching file "expr.c"
Hunk #1 succeeded at 4505 (offset 75 lines).
Hunk #3 succeeded at 4542 (offset 75 lines).
patching file "fold-const.c"
Hunk #1 succeeded at 1462 (offset 1 line).
patching file "stor-layout.c"
patching file "tree.c"
Hunk #1 succeeded at 5025 (offset 39 lines).
Hunk #3 succeeded at 5100 (offset 39 lines).
patching file "tree.h"
Hunk #1 succeeded at 1631 (offset 1 line).
patching file "tree.def"
No hunk fails, so I proceed with a 3 stage bootstrap.
Seems OK but when running dostest it crashes midway, after lots of errors
the log file is on agnes:
ftp://agnes.dida.physik.uni-essen.de/home/maurice/make.2953.out
It appears that:
all failed programs include units, either by an explicit uses clause in the
main, by a --uses= compilator option or even throug $L
there are error messages
gpc.exe: installation problem, cannot exec `cpp': No such file or directory (ENOENT)
indeed cpp has been renames cpp0 in this release.
I have include in djgpp.env a [cpp0] identical to [cpp] (and kept [cpp]
to be sure. No change.
Looking in the changelog I find indeed
2000-12-18 Zack Weinberg <zackw AT Stanford DOT EDU>:
* Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
xcpp to cpp throughout.
(native): Remove unnecessary dependency on cpp.
* gcc.c (C specs): Call cpp0 to do preprocessing, not cpp.
* ch/lang-specs.h, cp/lang-specs.h, f/lang-specs.h,
objc/lang-specs.h: Call cpp0 to do preprocessing, not cpp.
The corresponding change to p/lang-specs.h has not been done of course.
Could it be the only change to do ?
I have no more clue.
Has anybody tried to compile gpc with gcc2953 on a linux machine?
I use bnu210 (and have suppressed accordingly the various -mno-bnu210
in djbuild1.sh). djgpp v2.03 in a W98 dos box. I have first installed
gcc2953b.zip and compiled with it.
Hope this helps
Maurice
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 51 45 44
mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr
- Raw text -