From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <703b2539-027e-4f9f-a739-00b59f6d3d82@v28g2000vbb.googlegroups.com> <20101113192425.GC22589@nibiru.local> <284949CC-81F5-4791-91C1-13357BC23E7D@9srv.net> <465c929faaa98f1a87f669d26a1549d4@plug.quanstro.net> Date: Sun, 14 Nov 2010 08:24:58 -0800 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] Plan9 development Topicbox-Message-UUID: 7ddb217e-ead6-11e9-9d60-3106f5b1d025 On Sun, Nov 14, 2010 at 7:56 AM, Jacob Todd wrote: > The full standard c library isn't included in a statically linked > executable. Only what's needed is, at least on plan 9, i have no idea what > gcc does. To emphasize this comment: Plan 9 has always done the equivalent of what gcc recently got; only the code you use is bound in. The plan 9 linkers do the equivalent of the segment garbage collection that went into gld a while back. And there's no need to tell the Plan 9 C compiler to put everything in its own section so it can be garbage-collected by the linker. ron