Gentoo Archives: gentoo-dev

From: Ned Ludd <solar@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] 'submerge' was Re: Re: [gentoo-dev] Gentoo Embedded
Date: Wed, 29 Oct 2003 19:55:27
Message-Id: 1067456792.12319.5016.camel@simple
In Reply to: [gentoo-dev] 'submerge' was Re: Re: [gentoo-dev] Gentoo Embedded by david@futuretel.com
1 To achieve a larger number of packages getting linked as static you
2 could append LDFLAGS="-static" in your make.conf.
3 This will work on alot of ebuilds that don't support static in the IUSE,
4 but this option must be used with care.
5
6 On Tue, 2003-10-28 at 19:01, david@×××××××××.com wrote:
7 > On Tue, Oct 28, 2003 at 03:38:42PM -0800, Dejan Nikic wrote:
8 > > well the thing is that you don't want to remove gcc, only portage some
9 > > unused libs (i doubt their any with default Gentoo install) and probably
10 > > all those man and doc files. There should be ways to statically link
11 > > everything, but that might be some work.
12 > >
13 > > I got a 200mb install now, that I will hackaway at and try to get it
14 > > bellow 50mb hopefully I'm thinking of maybe writing something that will
15 > > use an existing gentoo install and use gentoo's portage and stuff to build
16 > > an LFS-like (Linux from scratch) image.
17 > >
18 >
19 > Turns out I had a lot of extra time at work today... ;-)
20 > well here is submerge. It is about 150 lines of bash and nothing very special.
21 > submerge takes a couple of configuration parameters in a file to run.
22 >
23 > I've attached it plus a sample config file. There are a couple extra
24 > features I have in mind for it... and I'm open to suggestions and code
25 > ;-)
26 >
27 > like I said before, a basic system can be done with:
28 >
29 > sys-kernel/linux-headers
30 > glibc
31 > =busybox-0.60.5-r1
32 > =gawk-3.1.2-r3
33 > =baselayout-1.8.6.8-r1
34 > tinylogin
35 >
36 > Dave
37 >
38 > ______________________________________________________________________
39 > --
40 > gentoo-dev@g.o mailing list
41 --
42 Ned Ludd <solar@g.o>
43 Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature