Re: gcc question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a problem compiling and running a simple gcc programme.

directory contains:

a.exe  main.cpp  main.exe


I have greated main.exe using " gcc main.cpp -o main "

I have tried typing " main " & " main.exe "

error message - " bash: main.exe: command not found "

What suggestions can you give to solve this.


Regards,

Brendan Darrer



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux