Help in GCC compilation

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

 



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 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