Mail Archives: cygwin/2009/03/31/16:22:19
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/
- Raw text -