[GiNaC-list] Compiling Ginac with MinGW failed in Ginsh compile eventhough, I dont wish to compile it

Rheinländer jrheinlaender at gmx.de
Mon Sep 3 12:56:47 CEST 2012

Hello Alexei,

> Well, in fact ginsh does compile just fine without libreadline (at
> least on Linux and Mac OS X). The problems here are a bit different:
> ginsh_parser.yy(916) : error C3861: 'isatty': identifier not found
> isatty() is in general *NIX-only thing (although MinGW might define it too).
> ginsh_parser.yy(927) : fatal error C1083: Cannot open include file:
> 'ginsh_op_help.h': No such file or directory.
> Not sure why this happens, I need more details (at least the exact
> version of GiNaC and compiler) to give any meaningful answer.
I don't need a Windows version of ginsh so I have never bothered to 
follow this up.

I think in another program I got rid of the problem by putting in the 
.ll file

#ifdef _MSC_VER
   #define YY_NO_UNISTD_H

or calling flex with --nounistd

> Also I don't quite understand how
> CC=cl CXX=cl CCAS=cl
> can possibly work in conjunction with
> CXXFLAGS="-DDO_GINAC_ASSERT -ggdb -Wall -pedantic"

neither do I, but it does somehow. GiNaC passes all tests successfully, 
so why worry about details :-)


More information about the GiNaC-list mailing list