On Sun, Aug 29, 2010 at 21:32, ANKIT <[email protected]> wrote:

> WHEN COMPILING A C CODE WITH GCC WITH OPTION -c
> it generates object module in .o format
> > please tell howw to open it.


Well lests say the file to be abcd.o

if you want a good view in 'less' its better you use hexdump. its a frontend
of xxd. the command is :

$hexdump -C abcd.o |less

you may redirect it to another file to use it later than running hexdump
each time.

$hexdump -C abcd.o> abcd.txt

else you can use well known hex editor like 'Okteta' to get things done.

--
Arjun S R
College Of Engineering,Trivandrum <http://www.cet.ac.in/home.php>
Facebook : http://www.facebook.com/Arjun.S.R

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to