473,225 Members | 1,180 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,225 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 1662
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...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.