Related articles |
---|
Compiler bootstrapping and the standard header files codevisio@gmail.com (2020-03-19) |
Re: Compiler bootstrapping and the standard header files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-03-20) |
Re: Compiler bootstrapping and the standard header files auriocus@gmx.de (Christian Gollwitzer) (2020-03-20) |
Re: Compiler bootstrapping and the standard header files christopher.f.clark@compiler-resources.com (Christopher F Clark) (2020-03-20) |
Re: Compiler bootstrapping and the standard header files codevisio@gmail.com (cvo) (2020-03-20) |
Re: Compiler bootstrapping and the standard header files gah4@u.washington.edu (2020-03-21) |
Re: Compiler bootstrapping and the standard header files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-03-22) |
Re: Compiler bootstrapping and the standard header files christopher.f.clark@compiler-resources.com (Christopher F Clark) (2020-03-22) |
Re: Compiler bootstrapping and the standard header files 493-878-3164@kylheku.com (Kaz Kylheku) (2020-03-23) |
From: | Hans-Peter Diettrich <DrDiettrich1@netscape.net> |
Newsgroups: | comp.compilers |
Date: | Sun, 22 Mar 2020 04:22:18 +0100 |
Organization: | Compilers Central |
References: | 20-03-018 20-03-019 20-03-021 20-03-023 |
Injection-Info: | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="64605"; mail-complaints-to="abuse@iecc.com" |
Keywords: | practice |
Posted-Date: | 22 Mar 2020 11:30:13 EDT |
Am 20.03.2020 um 23:52 schrieb cvo:
> Why do I ask that? Because I can start debugging and fixing my
> compiler along with my C libraries (and C headers) since the
> beginning instead of debugging my C libraries at step 2. In other
> words, it is true I can compile my C libraries at step 1, but I
> cannot debug their implementation yet because at step 1 I'm using
> the C libraries (and headers) from the host environment. I can
> debug my C libraries implementation only at step 2.
I don't understand what is "I" in "I'm using..." here. You can tell any
*compiler* to use your headers in compiling a test program, and to link
it using your libraries. Then you can debug your libraries as part of
that test program.
Where (static runtime) "libraries" is nothing but a collection of
previously compiled object files, which deserve no further compilation
with any new program. The linker puts together all required (listed)
object files and replaces all their references to external symbols by
the symbol definition (address) found in one of these files.
DoDi
Return to the
comp.compilers page.
Search the
comp.compilers archives again.