473,473 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
5 1474
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Alain FONTAINE | last post by:
I am searching a kind of software engineering document about PHP. This document should give advices about PHP project organisation (structure of files, directories, names). Shall I organize...
0
by: David M. Wilson | last post by:
Hello! I maintain a small package for talking to the API of BulkSMS.co.uk. I have been adding support for some new features recently, and found myself slightly indecisive over how best to lay...
1
by: Aksahy | last post by:
Hiii, I am developing an ASP application over IIS5.0 over win2kproffesional In our organisation we use Outlook along with MS-Exchange for Email communication. Now, i want to build an app, to...
30
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered...
8
by: karthik.infoguy | last post by:
Any one just let me know what are the different segments in a compiler and what data are stored in different segments????
1
by: phantom2850 | last post by:
hello friends, I recently attended 3 interviews, all three had similar questions... Where is const stored? what are diff segments? what is heap? where is it on RAM/ROM? what is stored in...
7
by: kr | last post by:
Hi All, Suppose I consider a sample program as given below:- #include<stdio.h> #include<stdlib.h> int i; int main() { char *test(int i); char *tmp = NULL;
0
by: phanipep | last post by:
explain what is a indexed sequential file organisation,also give two advantages of sequential of indexed sequential file organisation ?
0
by: aaragon | last post by:
Hello everybody, I have an interesting problem for which I still don't have a solution. Imagine that you're working with points in two-dimesional space, so the point class should be...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.