X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs- Date: Wed, 16 Sep 1998 16:40:17 +0200 (MET DST) From: Joerg Dalkolmo X-Sender: kolmo AT iris To: Marc Lehmann cc: beastium-list AT Desk DOT nl Subject: Re: syntax error while compiling pgcc-1.1 In-Reply-To: <19980915170814.42012@cerebro.laendle> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Marc Lehmann Status: RO X-Status: A Content-Length: 2018 Lines: 59 On Tue, 15 Sep 1998, Marc Lehmann wrote: > On Tue, Sep 15, 1998 at 10:42:29AM +0200, Joerg Dalkolmo wrote: > > Hi, > > > > I tried to compile pgcc-1.1 using egcs-1.1b and the patch > > egcs-1.1b-pgcc.1.1.diff. > > > > -DTOOL_INCLUDE_DIR=\"/usr/local/i586-pc-linux-gnulibc1/include\" \ > > -c `echo ../../egcs-1.1b/gcc/cccp.c | sed 's,^\./,,'` > > In file included from ../../egcs-1.1b/gcc/config/i386/linux.h:28, > > from tm.h:2, > > from ../../egcs-1.1b/gcc/config/i386/xm-i386.h:43, > > from config.h:2, > > from ../../egcs-1.1b/gcc/cccp.c:21: > > .../../egcs-1.1b/gcc/config/i386/i386.h:57: syntax error before `struct' > > I'm not really sure what here happened: > > - how did you configure the compiler? > - were there any reject files after patching? > - is this reproducable? > Hi, I have downloaded egcs-1.1b.tar.bz2 and egcs-1.1b-pgcc-1.1.diff.gz. Then I have done the following steps on two machines: (Linux-PCs, running kernel 2.0.0 and 2.0.30. Compiler gcc-2.7.2) o Copied the files in the same directory o uncompressed egcs-1.1b.tar.bz2 with bunzip2 o gave the following commands: $ tar xvf egcs-1.1b.tar $ cd egcs-1.1b $ gunzip -c ../egcs-1.1b-pgcc-1.1.diff.gz | patch -p1 -E -N $ find . -name "*.rej" -print ( no ".rej"-files were found.) $ find . -name "*.orig" | xargs rm ( some ".orig"-files were found and deleted ) $ cd .. $ mkdir pgcc-1.1 $ cd pgcc-1.1 $ ../egcs-1.1b/configure $ make bootstrap The compilation stopped on each machine at the same position. Perhaps while downloading and/or uncompressing one of the tar/diff-files were damaged, I don't know. I will repeat this procedure again and look what will happen. Best, Joerg ----------------------------------------------------------- Joerg Dalkolmo ( mailto:kolmo AT geophys DOT uni-stuttgart DOT de ) Institute of Geophysics, University of Stuttgart, Germany ( http://www.geophys.uni-stuttgart.de )