Bill Allombert on Thu, 01 Sep 2016 09:59:23 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Library on Windows

On Thu, Aug 25, 2016 at 10:29:03AM +0200, Rafael Guglielmetti wrote:
> Dear Bill,
> Thank you for your answer.
> When I use the files in the installer, and try to compile on Windows with
> MinGW (6.1.0)+MSys I get the following error:
> parigen.h:18:14: error: 'long long long' is too long for GCC
> Line 18 is: #define long long long

What are you trying to compile ?
Compiling 64bit PARI code on Windows is tricky.

> If I download the sources Pari 2-7-6 and try to compile (same setting, after
> a ./Configure --prefix=c:/pari), I get:
> ../src/language/es.c:1447:25: fatal error: sys/ioctl.h: No such file or
> directory
> Did I do something wrong?

Maybe not. I never tested on a real MinGW (6.1.0)+MSys system, instead I
use a mingw cross compiler on linux.

It seems that Configure report
instead of 
...I did not find TIOCGWINSZ.

Could you send me your file O*/config.log ?

Could you try to build PARI 2.8.0 ?