This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: gcc question


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]