Gentoo Archives: gentoo-dev

From: Armando Di Cianno <fafhrd@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] gcc-3.3.6 for x86 stable
Date: Fri, 02 Sep 2005 18:16:10
Message-Id: 59b990d09a2283bc157c966575cbbfed@asuka
In Reply to: Re: [gentoo-dev] gcc-3.3.6 for x86 stable by Mike Frysinger
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 2005-09-02 13:07:23 -0400 Mike Frysinger <vapier@g.o> wrote:
5 >> I've been trying to phase out dev-libs/libffi for a long while...if
6 >> someone can figure out a patch for gcc-3.3 series that compiles and
7 >> installs libffi w/o building the entirety of gjc/java/etc, that would
8 >> be fantastic; gcc-3.4 series has had this for a long time, and the
9 >> patch is incredibly simple -- my one attempt at doing this for
10 >> gcc-3.3
11 >> series proved fruitless. (The little bit of monkeying I've done with
12 >> gcc-4 series has proved easy wrt to this.)
13 >
14 > so has this all been integrated into the gcc ebuilds or does it need
15 > to be or
16 > ... ?
17 > -mike
18
19 > =gcc-3.4.3-r1 and <gcc-4* compiles and installs libffi seperately if
20 > 'objc' is used (regardless of 'gcj', which always installs it); i.e.
21 > the patch is already in there for that stated range of versions.
22
23 For gcc-4*, from what I looked at, the patch will also be quite easy
24 to make. I've talked to one of the gcc/objc maintainers, and 4.1.0
25 might already offer libffi as a sepate build target (i.e. no need for
26 a patch to make it one).
27
28 For gcc-3.3, I looked at it way back when, and gave up ... so it might
29 not be difficult, I suppose, just significantly different enough from
30 the patch that works with gcc-3.4.
31
32 The dev-libs/libffi ebuilds are based on early libstdc++-v3 ebuilds
33 ... but unlike libstdc++-v3, there's really no reason to offer it as a
34 seperate package, especially since gcc offers it.
35
36 The most ideal scenario is, across all gcc versions, 'objc' only
37 installs objc support, 'gcj' keeps doing it's gcj thing, and a new
38 flag 'libffi' installs libffi regardless of 'objc' or 'gcj'. As one
39 of the few foreign function interface libraries out there (ffcall
40 comes to mind as well), libffi may be useful to some outside of
41 objc+GNUstep or gcj.
42
43 __armando
44
45 -----BEGIN PGP SIGNATURE-----
46 Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux)
47 Comment: Using the GPG bundle for GNUMail
48
49 iD8DBQFDGJYcwgiTPLI9xhcRAs28AKCG8i2jrko1UgDMWPgJUq/CCTFPHACgipZC
50 pGgqI67R3u8O8HgI6O62sJY=
51 =46E2
52 -----END PGP SIGNATURE-----
53
54 --
55 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] gcc-3.3.6 for x86 stable Mike Frysinger <vapier@g.o>