Gcc cannot open .c file after creating object file

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

 



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.


[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