468,553 Members | 1,458 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,553 developers. It's quick & easy.

Virtual address generation

Hi,
Can any one brief about the below question...
1) In which phase of compilation, virtual addresses are generated...?

Thanks & regards
Aug 30 '07 #1
5 1481
laxmi wrote:
Can any one brief about the below question...
1) In which phase of compilation, virtual addresses are generated...?
(a) Do Your Own Homework.

(b) Nevertheless: none.

--
Chris "left & right hands" Dollin

Hewlett-Packard Limited registered office: Cain Road, Bracknell,
registered no: 690597 England Berks RG12 1HN

Aug 30 '07 #2
laxmi wrote:
Hi,
Can any one brief about the below question...
1) In which phase of compilation, virtual addresses are generated...?

Thanks & regards

C supports the separate compilation models. The compiler
doesn't generate any fixed virtual addresses but a symbolic,
not runnable files called "object" files.

So the answer is none, as Chris told you.
Aug 30 '07 #3
On 30 août, 11:50, jacob navia <ja...@jacob.remcomp.frwrote:
laxmi wrote:
Hi,
Can any one brief about the below question...
1) In which phase of compilation, virtual addresses are generated...?
Thanks & regards

C supports the separate compilation models. The compiler
doesn't generate any fixed virtual addresses but a symbolic,
not runnable files called "object" files.

So the answer is none, as Chris told you.
5.1.1.2 Translation phases

8. All external object and function references are *resolved*. Library
components are *linked* to satisfy external references to functions
and objects not defined in the current translation. All such
translator output is collected into a *program image* which contains
information needed for *execution* in its execution environment.

a+, ld.

Aug 30 '07 #4
Laurent Deniau wrote:
On 30 août, 11:50, jacob navia <ja...@jacob.remcomp.frwrote:
>laxmi wrote:
>>Hi,
Can any one brief about the below question...
1) In which phase of compilation, virtual addresses are generated...?
Thanks & regards
C supports the separate compilation models. The compiler
doesn't generate any fixed virtual addresses but a symbolic,
not runnable files called "object" files.

So the answer is none, as Chris told you.

5.1.1.2 Translation phases

8. All external object and function references are *resolved*. Library
components are *linked* to satisfy external references to functions
and objects not defined in the current translation. All such
translator output is collected into a *program image* which contains
information needed for *execution* in its execution environment.

a+, ld.
Those are translation phases... We are speaking of the compiler :-)
not the linker!
Aug 30 '07 #5
In article <46***************@news.xs4all.nlrl*@hoekstra-uitgeverij.nl (Richard Bos) writes:
....
And after all, there are always interpreters, where the answer would be
"Virtual addresses? What are those?"
And after all, there are always processors, where the answer would be
"Virtual addresses? What are those?"
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/
Aug 31 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by puzzlecracker | last post: by
7 posts views Thread by Oleksii | last post: by
9 posts views Thread by Neil | last post: by
15 posts views Thread by Heiner | last post: by
9 posts views Thread by sushant | last post: by
318 posts views Thread by King Raz | last post: by
reply views Thread by =?Utf-8?B?Zmplcm9uaW1v?= | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.