Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1563

Re: Smaller C Compiler

From alexfrunews@gmail.com
Newsgroups comp.compilers
Subject Re: Smaller C Compiler
Date 2015-06-20 07:17 -0700
Organization Compilers Central
Message-ID <15-06-007@comp.compilers> (permalink)
References <15-06-005@comp.compilers> <15-06-006@comp.compilers>

Show all headers | View raw


On Friday, June 19, 2015 at 9:30:47 AM UTC-7, Gene Wirchenko wrote:
...
> >Self-hosing on and Cross-compiling for:
>  ^^^^^^^^^^^
>       I take it that it does not include a debugger.  <BEG>

It's only self-hos(t)ing, not self-debugging. But there exist
decent/usable debuggers for DOS, Windows and Linux, which you
could use to debug it or programs compiled with it. The latter
might be a little hardcore since there's no symbol/debug info
in the executables produced by the compiler's linker. But map
files are generated by the linker and the compiler outputs
assembly code with annotations and so matching disassembly
in, say, gdb with the assembly code and ultimately with the
source code is quite feasible. I guess, yet another debugger
could only have value if it's either somehow better than the
existing ones (e.g. richer or better suites this compiler) or
is also very small, like the compiler itself. Does "<BEG>"
mean that you're begging for yet another one? If so, why?

Alex

Back to comp.compilers | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Smaller C Compiler alexfrunews@gmail.com - 2015-06-16 08:43 -0700
  Re: Smaller C Compiler Gene Wirchenko <genew@telus.net> - 2015-06-19 12:30 -0400
    Re: Smaller C Compiler alexfrunews@gmail.com - 2015-06-20 07:17 -0700

csiph-web