comp.lang.c
[Top] [All Lists]

Re: How do linkers work?

Subject: Re: How do linkers work?
From: jacob navia
Date: Fri, 28 Mar 2008 00:15:03 +0100
Newsgroups: comp.lang.c


Herbert Rosenau wrote:
 > The standard says nothing about linker, does not even mention how to
get a program in a state that it can be accessed by one or more CPU(s). The standard does not even requires that there must be a Compiler.

Wow. OK No linker, no compiler, no CPU.

C can be interpreted in runtime using an C interpreter. It is possible to use a comiler that does nothing than compile C to a bytecode to optimise the runtime the interpreter needs to interpret that. So no linker is needed. No stavk is needed, no BSS is needed, not even something that you names segments are needed.


Of course. If there is no CPU, I would be surprised
that a stack would exist

:-)

C is a programming language that is defined by syntax, semantik and behavior of an abstract mashine, whereas the behavior of the abstract mashine itself is defined exactly, leaving open anything only a real implementation can know.

Yeah.

Sure.

No CPU Herbert. No stack, no compiler, no linker.

No nothing. We are in the  "regulars daydreams"...

Nothing exists all is illusion.

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy