You have to specify the compilers. For cygwin, please install gcc-4 and its additional packages and then
./configure --enable-static CC=gcc-4 CXX=g++-4 Then, a tip: don't use gcc. Use cl instead, check the mailing list archives how to do that. Christian -- Christian Schulte, www.it.kth.se/~cschulte/ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Raffaele Cipriano Sent: Thursday, February 19, 2009 3:05 AM To: gecode user list Subject: [gecode-users] Static libraries of Gecode 2.2.0 Dear gecode developers and users, I am trying to install Gecode 2.2.0 under Cygwin. In the documentation it is said that on Cygwin only static libraries are supported, so I typed ./configure --enable-static But ./configure gives me this message: configure: error: Static linking not supported for Windows/cl What can I do? I tried configuring and making with shared libraries and it seems ok, but I get into troubles we trying to compile and link my programs. Thank you for any suggestion! Cheers Raffaele Cipriano _______________________________________________ Gecode users mailing list [email protected] https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list [email protected] https://www.gecode.org/mailman/listinfo/gecode-users
