Re: [dev] Re: sbase

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Thu, 16 Jun 2011 02:18:28 +0100

On 11 June 2011 00:40, Connor Lane Smith <cls_AT_lubutu.com> wrote:
> Why not just edit the individual files' main() functions (in a build
> directory) and generate a main.c, compile them, and link the object
> files together? Don't have to worry about anything except main(),
> then.

An update: I've done this, and added it to the Makefile. It's a little
simpler than doing it by concatenating all the sources, since we don't
need to worry about statics or anything. Currently sbase-box comes out
at 69K statically linked against musl, or 23K dynamically linked
against glibc.

So next I'll carry on with the items in TODO. Any contributions are welcome. ;)

Thanks,
cls
Received on Thu Jun 16 2011 - 03:18:28 CEST

This archive was generated by hypermail 2.2.0 : Thu Jun 16 2011 - 03:24:03 CEST