This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: falled compilations


On 10/18/2016 7:04 PM, juan carlos Rebate wrote:

[snip]
> in the three applications receive the same error
> 
> error cc either not exit or no work,

First check that gcc is in the path, something like this (in mintty):

$ which gcc
/usr/bin/gcc

$ which cc
/usr/bin/cc

> but this is not true, when I call to gcc works correctly, todod
> tutorials tell me that do the following ./configure --cc=gcc or
> ./configure --cc="gcc-3 -mno-cygwin" --host-cc=gcc-3

Wrong, useless, tutorials.  What you really do, if needed (and it really
shouldn't be needed, see above).

./configure CC=gcc

In fact you can learn that by simply running:

./configure --help

Reagards.
-- 
René Berber



--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]