By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,655 Members | 964 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,655 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Mar 22 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
pavi wrote:
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.

--
Ian Collins.
Mar 22 '07 #2

P: n/a
On Mar 22, 2:04 pm, Ian Collins <ian-n...@hotmail.comwrote:
Hi,
I am using gcc compiler. Any links which gives details of this
compiler documentaion
pavi wrote:
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.

--
Ian Collins.

Mar 22 '07 #3

P: n/a
pavi wrote:
On Mar 22, 2:04 pm, Ian Collins <ian-n...@hotmail.comwrote:
Please don't top-post, corrected.
>>pavi wrote:
>>>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.
Hi,
I am using gcc compiler. Any links which gives details of this
compiler documentaion
Your man pages and google.

--
Ian Collins.
Mar 22 '07 #4

P: n/a
In article <11**********************@e1g2000hsg.googlegroups. com>,
pavi <pr**************@gmail.comwrote:
>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

Mar 22 '07 #5

P: n/a
In article <11**********************@y80g2000hsf.googlegroups .com>,
pavi <pr**************@gmail.comwrote:
I want to understand how the C's executable a.out is organised
into segments.
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
--
"Consideration shall be given to the need for as many as 32 characters
in some alphabets" - X3.4, 1963.
Mar 22 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.