On Tue, Apr 25, 2006 at 03:15:23AM +0100, Derek Fawcus wrote:
> On Mon, Apr 24, 2006 at 02:37:21PM -0600, Ronald G Minnich wrote:
> > This program:
> > 
> > compiles to a 512KB binary on linux with -static
> 
> glibc is bloated,  printf and strtoul are also quite large.  Try dietlibc

  There's also uclibc..

> Why do I need an exception handler frame (assuming that is what
> the name means)?

  Well, this is to unwind trough exceptions through the C stack:
  foo_cpp() calls bar() calls  ex_cpp() where ex_cpp() and foo_cpp()
  are written in C++ and bar is written in C. If you have .eh_frame
  in place an exception thrown from ex_cpp() can properly reach
  foo_cpp().

  But stop complaining! Next thing you know -- there'll be Java ByteCode
  stashed in .java_byte_code_in_case_you_needed_it section!

Thanks,
Roman.

P.S. I wish the last one was a joke :-(

Reply via email to