bug-gmp
[Top][All Lists]
Advanced

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

mzp_out_str print nothing


From: xiaolei zhang
Subject: mzp_out_str print nothing
Date: Wed, 18 Dec 2002 09:43:41 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.2b) Gecko/20021016

gmp 4.1.1 (2002-12-01)

RedHat 8/gcc 3.2/GBK Envirment(Simplify Chinese)

mpz_str_out get noting in x-win-terminal but work fine in none-x-terminal.

i think that may be redhat's wrong, but you shall know this.
#gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --host=i386-redhat-linux --with-system-zlib 
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)


Linux alpha 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
#include <stdio.h>
#include "gmp.h"

int
main (int argc, char **argv)
{
        mpz_t a;

        mpz_init (a);

        mpz_set_str (a, "1234", 10);

        mpz_out_str (stdout, 10, a);

        mpz_clear (a);

        fflush (stdout);
        exit (0);
}

reply via email to

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