From: Christian K. <chr...@gm...> - 2001-01-02 18:22:37
|
"Kai Ruottu" <kai...@lu...> wrote: > So, is the libiberty-package ever checked for Mingw ? Do the > 'missing' functions work under Mingw ? I haven't needed these > functions straight, but the 'libiberty.a' will be used for every > GCC, binutils, GDB etc., built for Mingw-host, so I would expect > it work, never any problems... But I wouldn't expect the random > and srandom being used in them, and many other uncommon functions > neither... random and srandom are used in Mumit's port of the GMP, the GNU library for manipulating big numbers (http://www.swox.com/gmp/). From his README.win32 in gmp-dll-2.0.2-mingw32.zip: "Now you should have a libgmp.a in the toplevel directory. There is one little gotcha -- gmp uses random, which is non-ANSI and non-POSIX and missing from Mingw runtime library. However, it's provided with Mingw libiberty.a [...]" I have successfully compiled GMP 3.1.1 with libiberty.a. Christian. |