Compiled programs fail to run from Cygwin Terminal, but work from windows cmd
René Berber
rene.berber@gmail.com
Sun Jun 25 06:23:00 GMT 2017
On 6/25/2017 1:14 AM, Wouter van Doorn wrote:
> The tools are the original ones, as shown below:
> User@User-PC ~/c_dir
> $ ./hello.exe
>
> User@User-PC ~/c_dir
> $ type make
> make is hashed (/usr/bin/make)
>
> User@User-PC ~/c_dir
> $ type gcc
> gcc is /usr/bin/gcc
Try a simple:
$ gcc -o hello hello.c
$ ./hello
Take out make out of the equation, we don't know what the Makefile does
anyway (we haven't seen it).
--
R. 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
More information about the Cygwin
mailing list