This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Help in GCC compilation
- From: Hua Jie Lee <h dot lee2 at pgrad dot unimelb dot edu dot au>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 05 Nov 2007 11:23:03 +1100 (EST)
- Subject: Help in GCC compilation
Hi,
I am currently trying to compile a simple C code by using :-
gcc -o sample sample1.c
I managed to compile the above file .However when I want to run the
resulting program by ./sample
It returns me this error:- usage: change from [to]
I check the permission of the files and it is -rwx. What is the mistakes
or correect command to execute the resulting program in order to produce
.exe.
Please help as I am stuck in this steps.
Thanks
-Jason