[plt-scheme] stddef.h problem - building from SVN on Ubuntu 8.10 AMD64

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Jan 23 16:49:48 EST 2009

On Jan 23, Geoffrey S. Knauth wrote:
> On Jan 23, 2009, at 10:54, Geoffrey S. Knauth wrote:
> > On Jan 22, 2009, at 21:48, Todd O'Bryan wrote:
> >> Which version of Ubuntu 8.10? I've built 4.1.3 successfully on the
> >> 32-bit version, but haven't tried 4.1.4, yet.
> > $ uname -a
> > Linux nelson 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008  
> > x86_64 GNU/Linux
> I found a message [1] hinting it is a gcc problem, that having a gcc  
> subdirectory triggers the problem.  A small experiment [2] seems to  
> confirm this.  To be continued.
> [1] http://gcc.gnu.org/ml/gcc-bugs/2008-11/msg00107.html

That's a report from Mike Vanier who is using PLT, so it might be that
he ran into the problem with the PLT build too.

Reading that, it looks like you can work around it by making `gcc' a
script that will do

  cpp input-file > temp-file
  gcc temp-file
  rm temp-file

But I hope that it will be resolved somehow without resorting to a
non-solution like renaming `gcc' in the plt source tree...

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.