Organisation of segments in the C's executable a.out

P

pavi

Hi,
I want to understand how the C's executable a.out is organised
into segments. Which segments the varibles are put into according to
their declarations. which Linux commands are used to check these
details. Kindly anyone suggest any books or documents or link which
contains details of the above.

Regards,
Praveen Kumar A.S
 
I

Ian Collins

pavi said:
Hi,
I want to understand how the C's executable a.out is organised
into segments. Which segments the varibles are put into according to
their declarations. which Linux commands are used to check these
details. Kindly anyone suggest any books or documents or link which
contains details of the above.
Check your compiler's documentation, this stuff is implementation specific.
 
P

pavi

Hi,
I am using gcc compiler. Any links which gives details of this
compiler documentaion
 
K

Kenny McCormack

Hi,
I want to understand how the C's executable a.out is organised
into segments. Which segments the varibles are put into according to
their declarations. which Linux commands are used to check these
details. Kindly anyone suggest any books or documents or link which
contains details of the above.

Let me be the first to say, with all the warmth and kindness one expects
and receives from the helpful posters here:

Off topic. Not portable. Cant discuss it here. Blah, blah, blah.

(Also)
Useful clc-related links:

http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language
 
R

Richard Tobin

[/QUOTE]
I am using gcc compiler. Any links which gives details of this
compiler documentaion

You need documentation specific to your operating system. gcc runs on
hundreds of different systems, and even on a single system can often
be configured to use different formats, so you're not likely to find
the kind of information you want in the documentation for gcc itself.
If it's Linux you're using, try a Linux newsgroup.

-- Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top