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]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]