Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: cflags for atom
Date: Tue, 22 Oct 2013 13:01:06
Message-Id: loom.20131022T142121-379@post.gmane.org
In Reply to: Re: [gentoo-user] cflags for atom by Adam Carter
1 Adam Carter <adamcarter3 <at> gmail.com> writes:
2
3
4
5 > The i686 and -Os ideas are interesting.
6
7 SMALL is better. I've run numerous embedded and minimized gentoo systems
8 over the years.
9
10 Here is the make.conf from a i586:
11 CHOST="i486-pc-linux-gnu"
12 CFLAGS="-Os -march=i586 -pipe -fomit-frame-pointer"
13 CXXFLAGS="${CFLAGS}"
14 PORTAGE_NICENESS="1"
15
16 MAKEOPTS="-j2"
17 USE="-* -nls mmx hardened ncurses ssl crypt berkdb tcpd pam perl pcre \
18 python readline zlib bzip2 nptl nptlonly syslog"
19
20 MINIMIZE your efforts!
21
22
23 > Also - try diffing the kernel .configs - maybe you missed something
24 > important on the slow system.
25
26 I spent days building several kernels; keep at least 2 so when you minimize
27 yourself into oblivion, you can recover with the known, working
28 kernel. Days and Days of minimize-test-reboot (rinse and repeat)
29 before I got a minimized hardened kernel, that worked well. SMALL is
30 superior to OPTIMIZED, ihmo.
31
32 That said, if you are trying to make it a graphically minimized
33 portable workstation, experiment with only what you need.
34 HTOP is the best app to watch along with IOtop, as you use the
35 system. Published benchmarks will be mostly irrelevant, imho.
36
37 Here is a busy, i586
38
39
40 Load average: 0.00 0.00 0.00
41 mem 9/248 MB
42 CPU 2.0%
43
44 [1] www.gentoo.org/proj/en/base/embedded/handbook/
45
46
47
48 ymmv,
49 James