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 2016-10-18 20:10, juan carlos Rebate wrote:
2016-10-19 3:50 GMT+02:00 Brian Inglis <Brian.Inglis@systematicsw.ab.ca>:
On 2016-10-18 19:15, juan carlos Rebate wrote:
2016-10-19 2:31 GMT+02:00 René Berber <rene.berber@gmail.com>:
On 10/18/2016 7:04 PM, juan carlos Rebate wrote:
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
On Unix most executables have no extension, so Cygwin does not always
show the .exe following a program name, and /usr/bin/gcc is the normal
Cygwin output for the compiler gcc.exe, and is not a folder name.
If you look for the file under Windows Explorer, you will see the
directory entry forgcc.exe, unless you hide extensions.
Please run Cygwin using the Cygwin Terminal Start Menu Entry;
in that window, cd to the directory where the program configure script
was downloaded; run the following command:
        ./configure && make
without adding any other options, and post the output in a reply here.
jc@DESKTOP-A72U7VL ~/qemu
$  ./configure && make

ERROR: "cc" either does not exist or does not work

Okay you said earlier:

no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is
vygwin error because the whole development category is installed

which implies you installed MinGW, not Cygwin, tools, causing the issue.

You should ask about using these tools on the MinGW mailing list, see:

https://sourceforge.net/p/mingw/mailman/mingw-users/

after reading and following:

http://www.mingw.org/wiki/Getting_Started
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite
http://www.mingw.org/wiki/MinGW_for_First_Time_Users_HOWTO

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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