www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/09/16/14:40:20

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 <kolmo AT geophys DOT uni-stuttgart DOT de>
X-Sender: kolmo AT iris
To: Marc Lehmann <pcg AT goof DOT com>
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: <Pine.LNX.3.91.980916163613.21125A-100000@iris>
MIME-Version: 1.0
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
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 )

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019