source code
hi,
this is my first post.i want to know as to how do i see the source code for programs compiled in gcc .there is a command but i am not getting it .could anyone help me out. bye |
i think that you maybe find the "Building and Installing Software Packages for
Linux" article can answer your question. |
reply
hi
sorry to confuse u guys. i meant how do i see the assembly code of the program written and not the "source code". bye |
You'd need a disassembler. Once code has been compiled it's no longer 'human-readable' because it's in binary (or can be viewed as hex). A disassembler or decompiler would give you some idea of the source code, but it wouldn't be as the programmer wrote it, it would be a 'best guess' of the disassembler. If you want source code, most linux programs provide it.
|
url
hi,
where do i get the disassembler from,could u send me the link for the d/w. |
Search for dasm2. I'm not sure what you're hoping to gain from this...it's only going to give you a whole load of assembly language that'll be incredibly difficult to understand.
|
hi,
my aim is just to optimize the code when there are memory constraints,and by looking at assembly i hope to get an idea of writing efficent programs. thx bye |
Quote:
|
re
hi
thx for the info,i will keep that in mind. bye |
All times are GMT -5. The time now is 01:41 AM. |