bug-gmp
[Top][All Lists]
Advanced

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

RE: Installing GMP on cygwin


From: Edward Marti
Subject: RE: Installing GMP on cygwin
Date: Sun, 23 Jun 2002 01:30:13 -0700

lol. I think there is an unwritten rule that half the time, when I email a
question, I find out the answer right after I hit 'send'. I found MSYS and
am installing it.
 - Thanks for your time, Edward.

-----Original Message-----
From: Kevin Ryde [mailto:address@hidden
Sent: Saturday, June 22, 2002 4:20 PM
To: Edward Marti
Cc: address@hidden
Subject: Re: Installing GMP on cygwin


"Edward Marti" <address@hidden> writes:
>
> $ g++ encode.cpp -lgmpxx -lgmp -mno-cygwin -o encode
>
/cygdrive/c/WINDOWS/TEMP/ccKRXDXV.o(.text$__ls__H3ZcZt18string_char_traits1Z
> cZt2
>
4__default_alloc_template2b0i0_R7ostreamRCt12basic_string3ZX01ZX11ZX21_R7ost
> ream
> +0x32):encode.cpp: undefined reference to `ostream::write(char const *,
> long)'

Hmm.  The tests/cxx programs link ok in my debian cross-compile.  I'm
not sure what lib file is supposed to have standard C++ stuff.

> /usr/lib/mingw/libgmp.a(set_str.o): In function `digit_value_in_base':
> /home/Ed/gmp-4.0.1/mpz/set_str.c:38: undefined reference to
`_imp___ctype_'

The mingw ctype.h seems to use something called "pctype".  You haven't
hit the cygwin headers or something?

> /usr/lib/mingw/libgmp.a(assert.o): In function `_gmp_assert_header':
> /home/Ed/gmp-4.0.1/assert.c:37: undefined reference to `_impure_ptr'

Don't know what that would be.





reply via email to

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