This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Gcc cannot open .c file after creating object file
- From: "a,bug,free,life" <anilmutha at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 12 Oct 2007 14:49:20 -0700 (PDT)
- Subject: Gcc cannot open .c file after creating object file
Hi all,
I am new to ubuntu. I am getting a weird error. I am not sure where the
fault is.
Whenever i creat a .c file and execute it it changes the source file to
binary file.
I tried with the program hello world.
It compiles it properly, but after the linker it overwrites the source file
the command line prompt i used were
gcc -c ccc.c
gcc -0 ccc.c ccc.o
./ccc.o
any help would be appreciated
Thanks
Anil
--
View this message in context: http://www.nabble.com/Gcc-cannot-open-.c-file-after-creating-object-file-tf4616209.html#a13183611
Sent from the gcc - Help mailing list archive at Nabble.com.