Gentoo Archives: gentoo-user

From: Matt Causey <matt.causey@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Firefox without gcc?
Date: Thu, 14 May 2009 14:12:10
Message-Id: ac71f2bb0905140712u7da23c5j9124a29879ad0f16@mail.gmail.com
1 Hello!
2
3 Another Gentoo newb question. I'm attempting a customized ROOT=/blah
4 gentoo root filesystem, where we can build a linux client image w/out
5 the build chain and other dependencies. Our needs are too intensive
6 for ulibc, but we're shooting for a sub-250 MB graphical operating
7 environment.
8
9 I'm surprised to see that Firefox (and anecdotally, Xorg) are linked
10 to gcc libraries:
11
12 [chroot-dev] causey-1 ramdisk # ldd ./usr/lib/mozilla-firefox/firefox
13 linux-gate.so.1 => (0x00484000)
14 libpthread.so.0 => /lib/libpthread.so.0 (0x00cae000)
15 libdl.so.2 => /lib/libdl.so.2 (0x0026b000)
16 libstdc++.so.6 =>
17 /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/libstdc++.so.6 (0x008c9000)
18 libm.so.6 => /lib/libm.so.6 (0x0072b000)
19 libgcc_s.so.1 =>
20 /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/libgcc_s.so.1 (0x00110000)
21 libc.so.6 => /lib/libc.so.6 (0x00d48000)
22 /lib/ld-linux.so.2 (0x00e89000)
23
24 [chroot-dev] causey-1 ramdisk # qfile libstdc++.so.6
25 sys-devel/gcc (/usr/lib/gcc/i486-pc-linux-gnu/4.1.2/libstdc++.so.6)
26 [chroot-dev] causey-1 ramdisk #
27
28 I had to copy bits of gcc over to get Xorg/xdm working as well.
29
30 I'm happy to hand-copy over the bits I need if that is the only
31 option....but I guess I was looking for a USE flag or something where
32 we could build things that are not linked to the build chain?
33
34 I did find a dated thread here, which just says, 'deal with it and
35 move on' - but I wondered if anything has changed. :-)
36
37 http://www.mail-archive.com/gentoo-embedded@l.g.o/msg00857.html
38
39 Cheers,
40
41 --
42 Matt