On Mon, Jul 30, 2012 at 5:50 PM, Pawel Jasinski wrote: > checking for gcc... gcc > checking whether the C compiler works... no > configure: error: in `/usr/src/openssh-6.0p1-2/build': > configure: error: C compiler cannot create executables > See `config.log' for more details > *** ERROR: configure failed > > If I look at config,log the things look funny around gcc invocation, > but I am kind of novice to cygport and can not figure out what's going > on: > > gcc -ggdb -O2 -pipe > -fdebug-prefix-map=/usr/src/openssh-6.0p1-2/build=/usr/src/debug/openssh-6.0p1-2 > -fdebug-prefix-ma > p=/usr/src/openssh-6.0p1-2/src/openssh-6.0p1=/usr/src/debug/openssh-6.0p1-2 > conftest.c >&5 > cc1: error: unrecognized command line option > "-fdebug-prefix-map=/usr/src/openssh-6.0p1-2/build=/usr/src/debug/openssh-6.0p1-2" > cc1: error: unrecognized command line option > "-fdebug-prefix-map=/usr/src/openssh-6.0p1-2/src/openssh-6.0p1=/usr/src/debug/openssh-6.0 > > What am I missing?
You are using gcc (version 3) and not gcc4. -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/ -- 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