473,320 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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

Similar topics

3
by: Roy Yao | last post by:
Hello, I need to pass a pointer to a callback function to the lower level modules. But the function is thought to be a virtual member one. How can I get the real address of the virtual...
8
by: puzzlecracker | last post by:
Can the template method be virtual and what are the consequences? Can the template inline functions be virtual and what are the consequences?
7
by: Oleksii | last post by:
Hello, I'm rather new to the advanced topics, therefore I cannot explain the following myself. Could anyone give me a hint on this one? I'm trying to avoid link-time dependencies on (a test...
9
by: Neil | last post by:
I've been discussing here a SQL 7 view which scrolls slowly when linked to an Access 2000 MDB. After trying various things, I've distilled it down to the following: when the linked view has a...
15
by: Heiner | last post by:
#include <stdio.h> class A { public: virtual A & operator= (const A &); virtual void test(const A &); }; class B : public A
9
by: sushant | last post by:
hello, my question is related with the address of a variable in C. suppose if i am printing the address of a variable, so that address will be virtual address or physical address. and why it'll...
17
by: Jess | last post by:
Hello, If I have a class that has virtual but non-pure declarations, like class A{ virtual void f(); }; Then is A still an abstract class? Do I have to have "virtual void f() = 0;"...
318
by: King Raz | last post by:
The shootout site has benchmarks comparing different languages. It includes C# Mono vs Java but not C# .NET vs Java. So I went through all the benchmark on the site ... ...
0
by: =?Utf-8?B?Zmplcm9uaW1v?= | last post by:
Hi all, As I mentioned in a previous thread (see 'Dbghelp, symbols and templates' in microsoft.public.windbg), we created a powerful symbol engine using dbghelp to dump the contents of the stack...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.