[gambit-list] Gambit for plan9?

Marc Feeley feeley at iro.umontreal.ca
Tue Feb 12 16:22:14 EST 2013


On 2013-02-12, at 3:06 PM, Bakul Shah <bakul at bitblocks.com> wrote:

> term% pcc -I../include -D___LIBRARY -D___PRIMAL -D___HAD_STDLIB_H *.c
> cpp: _eval.c:645 Unknown preprocessor control f
> cpp: ../include/gambit.h:748 _eval.c:661 Could not find include file <wchar.h>
> cpp: ../include/gambit.h:833 _eval.c:661 Bad operator (@) in #if/#elif
> cpp: ../include/gambit.h:1654 _eval.c:661 Bad operator (@) in #if/#elif
> cpp: ../include/gambit.h:1657 _eval.c:661 Bad operator (@) in #if/#elif
> cpp: ../include/gambit.h:1678 _eval.c:661 Bad operator (@) in #if/#elif
> /usr/bakul/gambit/lib/../include/gambit.h:7250[stdin:6880] syntax error, last name: wchar_t
> pcc: cpp: 8c 212: error

Hmmm... you should have said -D___HAVE_... not -D___HAD_... and added -D___HAVE_STDIO_H but that is probably not the issue here.  I'm assuming plan9 does have stdlib.h and stdio.h .

Since plan9 doesn't seem to have a wchar.h file, then please try again with in addition: -D___DONT_HAVE_WCHAR_H .

Marc




More information about the Gambit-list mailing list