bug-gmp
[Top][All Lists]
Advanced

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

GMP-4.0.1 on BeOS


From: heikkine
Subject: GMP-4.0.1 on BeOS
Date: Fri, 08 Mar 2002 03:49:18 +0200 (EET)
User-agent: IMP/PHP IMAP webmail program lut20011113

I tried to compile GMP-4.0.1 on BeOS (Pro Edition 5.0.3 x86), and I got error
messages on printf/doprnt.c and scanf/doscan.c, both cases were about intmax_t
being undefined. The source had a

#include <stdint.h>

line, I found out that this file does not exist on BeOS. I worked around this by
adding line

typedef long long intmax_t

to the beginning of both files, right above the

#include "config.h"

line. After this the GMP compiled ok, and 'make check' told that all test were
passed. The Makefile had only the following line of machine-specifying data:
host_triplet = athlon-pc-beos

There is a file /boot/develop/headers/posix/inttypes.h, in which I found the
intmax_t typedef, but the problem can't be solved by replacing the '#include
<stdint.h>' in the code with '#include <inttypes.h>', I tried this and it still
gives the same error.


Mikko Heikkinen
Lappeenranta University of Technology
Finland



reply via email to

[Prev in Thread] Current Thread [Next in Thread]