Gentoo Archives: gentoo-alt

From: Aaron Wilson <tallest@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix] gcc 4.2 library path
Date: Thu, 19 Jul 2007 08:45:02
Message-Id: E8934F06-0AD5-45EB-AED1-AEB2DAF02D77@gmail.com
In Reply to: Re: [gentoo-alt] [prefix] gcc 4.2 library path by Fabian Groffen
1 So where should libgomp.1.dylib (and all the other gcc libraries) be?
2
3 Should gcc-config move a copy to ~/LIbrary/Gentoo/usr/lib when
4 switching profiles?
5 Or should gcc simply be compiled properly to place them in ~/Library/
6 Gentoo/usr/lib/gcc/i686-apple-darwin8/4.2.0/?
7
8 Aaron
9
10 On Jul 19, 2007, at 2:37 AM, Fabian Groffen wrote:
11
12 > The problem is to be found in your otool output
13 >
14 > On 19-07-2007 02:32:57 -0600, Aaron Wilson wrote:
15 >> I'm not actually sure that this is specific to use of gomp. Could
16 >> this be a
17 >> problem with my gcc install in general?
18 >
19 > maybe, but only the openmp part I think, because it doesn't listen to
20 > the configure options properly.
21 >
22 >> $ otool -L
23 >> /Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.2.0/
24 >> libgomp.1.dylib
25 >> /Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.2.0/
26 >> libgomp.1.dylib:
27 >> /Users/wilson/Library/Gentoo/usr/lib/libgomp.1.dylib
28 >> (compatibility
29 >> version 2.0.0, current version 2.0.0)
30 >
31 > Here you have it. The library was created to be placed in
32 > /Users/wilson/Library/Gentoo/usr/lib/libgomp.1.dylib, but eventually
33 > placed in another location. Once you link against the library, this
34 > "compiled in" location is used, not its actual location in the
35 > filesystem.
36 >
37 >> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
38 >> current
39 >> version 88.3.9)
40 >
41 > We have to fix gcc installation to put that library in the right
42 > place,
43 > also in what it encodes in the library itself.
44 >
45 > --
46 > Fabian Groffen
47 > Gentoo on a different level
48 > --
49 > gentoo-alt@g.o mailing list
50 >
51
52 --
53 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [prefix] gcc 4.2 library path Fabian Groffen <grobian@g.o>