Gentoo Archives: gentoo-alt

From: Michael Weiser <michael@×××××××××××××××.net>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] linkage of libiconv on mac os x
Date: Thu, 27 Mar 2008 19:11:31
Message-Id: 20080327191113.GB11871@weiser.dinsnail.net
In Reply to: Re: [gentoo-alt] linkage of libiconv on mac os x by Fabian Groffen
1 On Thu, Mar 27, 2008 at 07:52:16PM +0100, Fabian Groffen wrote:
2
3 > > > This is exactly the reason we are using wrappers that inject those
4 > > > flags. If gcc and ld aren't first in your default search-path,
5 > > > things
6 > > > will get difficult.
7 > > /usr/local/gentoo/usr/bin/gcc
8 > > /usr/local/gentoo/usr/bin/i686-apple-darwin9-gcc
9 > > /usr/local/gentoo/usr/bin/ld
10
11 > Those all are the wrappers ;)
12
13 Ah. Shouldn't it contain some tweaking of CFLAGS then?
14
15 # strings /usr/local/gentoo/usr/bin/gcc | grep CFLAGS
16 CFLAGS_%s
17
18 > > michael@esgaroth:~ # otool -L /usr/local/gentoo/usr/lib/libglib-2.0.dylib
19 > > /usr/local/gentoo/usr/lib/libglib-2.0.dylib:
20 > > /usr/local/gentoo/usr/lib/libglib-2.0.0.dylib (compatibility version 1601.0.0, current version 1601.1.0)
21 > > /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
22
23 > This one is obviously wrong, the rest is correct. Question is, do you
24 > have /usr/local/gentoo/lib/libiconv.2.dylib, and if so, what does
25 > otool -L /usr/local/gentoo/lib/libiconv.2.dylib report?
26
27 # otool -L /usr/local/gentoo/lib/libiconv.2.dylib
28 /usr/local/gentoo/lib/libiconv.2.dylib:
29 /usr/local/gentoo/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
30 /usr/local/gentoo/usr/lib/gcc/i686-apple-darwin9/4.0.1/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
31 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)
32 --
33 bye, Micha
34 --
35 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] linkage of libiconv on mac os x Michael Weiser <michael@×××××××××××××××.net>
Re: [gentoo-alt] linkage of libiconv on mac os x Fabian Groffen <grobian@g.o>