falled compilations
first say I am new to this list, second discupas I ask for my bad English writing I have been programming for windows since 2004, now I am forced to compile certain Linux applications on Windows, the problem is that I receive errors that in theory should not. in the three applications receive the same error error cc either not exit or no work, 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 course this command is not valid as regards gcc gcc 3 but includes cygwin 5, of course is not sufficient to change the 3 by 5 How you could resolve this? -- 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
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
Re: falled compilations
2016-10-19 2:31 GMT+02:00 René Berber : > 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 > no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is vygwin error because the whole development category is installed -- 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
Re: falled compilations
On 2016-10-18 19:15, juan carlos Rebate wrote: 2016-10-19 2:31 GMT+02:00 René Berber : 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 no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is vygwin error because the whole development category is installed 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. Without actual error messages, no one can see if you have any issues which need fixed. -- 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
Re: falled compilations
2016-10-19 3:50 GMT+02:00 Brian Inglis : > On 2016-10-18 19:15, juan carlos Rebate wrote: >> >> 2016-10-19 2:31 GMT+02:00 René Berber : >>> >>> 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 >> >> no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is >> vygwin error because the whole development category is installed > > > 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 -- 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
Re: falled compilations
On 2016-10-18 20:10, juan carlos Rebate wrote: 2016-10-19 3:50 GMT+02:00 Brian Inglis : On 2016-10-18 19:15, juan carlos Rebate wrote: 2016-10-19 2:31 GMT+02:00 René Berber : 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
Re: falled compilations
On 2016-10-18 20:10, juan carlos Rebate wrote: 2016-10-19 3:50 GMT+02:00 Brian Inglis : On 2016-10-18 19:15, juan carlos Rebate wrote: 2016-10-19 2:31 GMT+02:00 René Berber : 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
Re: falled compilations
2016-10-19 5:33 GMT+02:00 Brian Inglis : > On 2016-10-18 20:10, juan carlos Rebate wrote: >> >> 2016-10-19 3:50 GMT+02:00 Brian Inglis : >>> >>> On 2016-10-18 19:15, juan carlos Rebate wrote: 2016-10-19 2:31 GMT+02:00 René Berber : > > 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 > I do not understand what I said, I said that from the installation graphical cygwin instaé entire category development to avoid dependency problems, was cygwin who installed mingw instead of gcc so that nueevo indicate that failure cygwin -- 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