Gentoo Archives: gentoo-embedded

From: Mike Frysinger <vapier@g.o>
To: Joakim Tjernlund <joakim.tjernlund@×××××××××.se>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] where is libgcc_so.1?
Date: Thu, 23 Sep 2010 09:09:44
Message-Id: 201009230458.53089.vapier@gentoo.org
1 On Thursday, September 23, 2010 03:05:21 Joakim Tjernlund wrote:
2 > Mike Frysinger wrote on 2010/09/23 00:05:31:
3 > > look at the stage list. you have to build a bare compiler (stage1)
4 > > before you can build the C library (stage3), and you need the C library
5 > > before you can build shared libraries like libgcc_s.so.1 (stage4).
6 >
7 > A bit strange that s3 can build the pthread shared lib then?
8
9 no. glibc dlopen's libgcc on the fly. the pthreads source code has some
10 comments in it explaining why. although this chicken & egg problem is a
11 pretty damn good reason -- you cant build shared gcc libs without a C library,
12 so requiring your gcc to have shared libs would be problematic ...
13
14 > The help text for S4 only indicates that S4 builds a C++ compiler(which I
15 > don't need ATM, that is why I skipped s4)
16
17 i guess it is a bit misleading
18 -mike

Attachments

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