473,698 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ 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 1487
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.co mwrote:
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.co mwrote:
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************ **********@e1g2 000hsg.googlegr oups.com>,
pavi <pr************ **@gmail.comwro te:
>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************ **********@y80g 2000hsf.googleg roups.com>,
pavi <pr************ **@gmail.comwro te:
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
--
"Considerat ion 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
1944
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 hierachically and how (a main directory, a directory for php files, for html files ...)? How to use "base" request in HTML under PHP and that sort of things. Thank you
0
1226
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 out the modules internally. I have a 'BulkSMS.Exceptions' module, which contains a base class and (currently) all derived exceptions that my package throws. This has been fine up until now, as the exceptions were generated by only one
1
1730
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 send mail. I am using CDO for Windows 2000. Following is summary of my CDO.configuration method : cdoSendUsingPort SMTP Server : MyExchangeserver
30
2777
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 if anyone from the group could give me some advice on how to respond / if they had been in a similar position. Any help appreciated, Thanks in advance,
8
2621
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
9647
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 stack? what is relation b/w Segments and RAM/ROM/FLASH Can someone suggest me some tutorial for this?
7
2115
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
1136
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
1218
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 (simplifying): class Point { double x_,y_;
0
8608
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8898
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7734
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6524
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3051
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 we have to send another system
3
2006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.