Message-ID: <3ABF4D55.9000501@ujf-grenoble.fr> Date: Mon, 26 Mar 2001 16:08:21 +0200 From: Maurice Lombardi User-Agent: Mozilla/5.0 (Windows; U; Win98; fr-FR; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: fr,it,en MIME-Version: 1.0 To: VJSuorsa AT Surfeu DOT Fi CC: Djgpp AT Delorie DOT Com, Gpc AT gnu DOT de Subject: Re: Need GPC installation References: <3abde507 DOT 6429 DOT 0 AT surfeu DOT fi> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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 : * 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