[CLN-list] CLN on MinGW

John Pye john.pye at student.unsw.edu.au
Fri Jul 29 08:38:16 CEST 2005


Hi again Richy,

Just wanted to ask if anyone's succeeded in building CLN on MinGW / MSYS
? Is this something that other people have shown an interest in?

I get the following error when I try to ./configure && make:

>  g++ -g -O2 -I../include -I../include -I./base -Ibase -c
> ./base/random/cl_random_from.cc  -DDLL_EXPORT -DPIC -o
> .libs/cl_random_from.o
> ./base/random/cl_random_from.cc: *In constructor
> `cln::random_state::random_state()':*
> ./base/random/cl_random_from.cc:68: *error: `::get_seed' has not been
> declared*
> make[3]: *** [cl_random_from.lo] Error 1


The problem could be as simple as needing to alter the #if stuff like
(defined(_WIN32) && defined(__GNUC__)) -- I think that MinGW may use
slightly different macros eg WIN32 in place of _WIN32. Or it could be
more complex, I know that MinGW doesn't implement glibc so you might
need more complicated #ifdefs and provide some aliases to MFC library calls.

My experience with MinGW is that it runs a lot more quickly -- both
compiling and then running the compiled code. The Cywin POSIX layer
seems to slow things down quite a bit in computationally intensive stuff.

Cheers

JP

-- 
John Pye
School of Mechanical and Manufacturing Engineering
The University of New South Wales
Sydney  NSW 2052  Australia
t +61 2 9385 5127
f +61 2 9663 1222
mailto:john.pye_AT_student_DOT_unsw.edu.au
http://pye.dyndns.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cebix.net/pipermail/cln-list/attachments/20050729/c137756e/attachment.html


More information about the CLN-list mailing list