X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Tue, 31 Mar 2009 17:21:59 -0400 Message-ID: <5a05e0e60903311421t6f746ecbw2574aa7a4046eba8@mail.gmail.com> Subject: g++-4 no output---resolved, but why? From: Dave Steenburgh To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 I've been using gcc3 for some time, and decided to move to gcc4. =A0I did not remove gcc3. =A0I tried running a configure script for a personal project, specifying CXX=3Dg++-4. =A0The script failed, because g++-4 didn't produce an executable when presented with conftest.cpp. It also didn't bother with an error message. =A0I tried my own simple cpp file, and I tried invoking i686-pc-cygwin-g++-4.exe instead of g++-4, but I couldn't get it to produce an executable, or an error message. It also wouldn't produce an object file with -c. I went to my other machine, which is much newer and faster than the problem machine, thinking that I could figure out the problem that much faster. =A0I installed gcc4 just as I did on the problem machine, and tried to compile a simple cpp file. =A0It worked! =A0For the most part, the installations on these two machines are the same, so I was baffled. =A0One difference is that I run distccd on the newer machine and use distcc on the problem machine. =A0So I reinstalled distcc on the problem machine. =A0I again invoked i686-pc-cygwin-g++-4.exe to compile the simple cpp file, and it worked! =A0My configure script now works, and _most_ of my project compiles. So I wonder, what might've been the problem, and why would reinstalling distcc fix it? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/