X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=BAYES_20,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 23 Jun 2009 19:36:36 +0300 Message-ID: <320e992a0906230936t454582a6gfcd1c145b87eee6a@mail.gmail.com> Subject: Help building boost-1.39 on cygwin-1.7 using gcc-4 From: Eray Ozkural To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi there, I am trying to build the latest boost on cygwin-1.7 using g++-4 I configured boost to use the gcc-4, that far no problem. Then, I built it giving it the link=static and runtime-link=static options It seems however that the build is not successful, although the build completes (giving lots of auto-import messages) the program hangs. Giving -Wl,--enable-auto-import results in a more ultimate freeze of the program (given as a suggestion to another poster on auto-import messages): 4 [main] myprogram 4664 sig_send: wait for sig_complete event failed, signa l 6, rc 258, Win32 error 0 So, no giving --enable-auto-import to the linker doesn't fix anything. Do you know how to do this right? I was able to build using this approach using a self-built gcc 4 and boost-1.37 on the older cygwin. What am I doing wrong? I remember that I was trying to build only the static libs because otherwise I was getting the auto-import messages, and then my program wouldn't work. When I had built *only* the static libs, and linked against them then my program would work. Now with the newer version of the cygwin and the included gcc-4, I can't get rid of the auto-import feature at all. My program uses program_options library and I know from previous experience that that is where it hangs. For the record, many tests in program_options or graph libraries do not work either. So, has anybody been able to build boost using gcc-4 on the new cygwin release? Please help! -- Eray Ozkural, PhD candidate. Comp. Sci. Dept., Bilkent University, Ankara Researcher, Erendiz Superbilgisayar Ltd. http://groups.yahoo.com/group/ai-philosophy http://myspace.com/arizanesil http://myspace.com/malfunct -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple