Hello everyone,
I am a new user at ubuntu and I'm programming c in that platform.
Now I tried two ways to work, on the simple document writer and in Eclipse.
I both ways when I try to run a program on the terminal I get the following message:
Where myprog is a compiled c program with this code:Code:bash: ./myprog: cannot execute binary file
My system is windows 8.1 with 64bit.Code:gcc -ansi -Wall -c first.c -o myprog
Please note that I have had a 64bit OS on my previous laptop and I managed to run files in that ubuntu system with no problems, so I don't think it's a 64-bit 32-bit kind of problem.
It doesn't matter if I write the code on eclipse or in the document writer, everytime I try to run my file I get the same error.
Please, your help is highly appriciated, thank you!
Bookmarks