1 |
Looking at the output of gcc -v: |
2 |
|
3 |
> $ gcc -v |
4 |
> Using built-in specs. |
5 |
> Target: i686-apple-darwin8 |
6 |
> Configured with: /Users/wilson/Library/Gentoo/var/tmp/portage/sys- |
7 |
> devel/gcc-4.2.0/work/gcc-4.2.0/configure --prefix=/Users/wilson/ |
8 |
> Library/Gentoo/usr --bindir=/Users/wilson/Library/Gentoo/usr/i686- |
9 |
> apple-darwin8/gcc-bin/4.2.0 --includedir=/Users/wilson/Library/ |
10 |
> Gentoo/usr/lib/gcc/i686-apple-darwin8/4.2.0/include --datadir=/ |
11 |
> Users/wilson/Library/Gentoo/usr/share/gcc-data/i686-apple- |
12 |
> darwin8/4.2.0 --mandir=/Users/wilson/Library/Gentoo/usr/share/gcc- |
13 |
> data/i686-apple-darwin8/4.2.0/man --infodir=/Users/wilson/Library/ |
14 |
> Gentoo/usr/share/gcc-data/i686-apple-darwin8/4.2.0/info --with-gxx- |
15 |
> include-dir=/Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple- |
16 |
> darwin8/4.2.0/include/g++-v4 --host=i686-apple-darwin8 --build=i686- |
17 |
> apple-darwin8 --disable-altivec --enable-nls --without-included- |
18 |
> gettext --with-system-zlib --disable-checking --disable-werror -- |
19 |
> enable-secureplt --disable-libunwind-exceptions --disable-multilib |
20 |
> --disable-libmudflap --disable-libssp --disable-libgcj --enable- |
21 |
> languages=c,c++,objc,obj-c++,fortran --enable-shared --enable- |
22 |
> threads=posix --with-local-prefix=/Users/wilson/Library/Gentoo/usr |
23 |
> Thread model: posix |
24 |
> gcc version 4.2.0 (Gentoo 4.2.0) |
25 |
|
26 |
|
27 |
It seems that the --libdir option was not specified. According to the |
28 |
configure documentation at http://gcc.gnu.org/install/configure.html |
29 |
this defaults to "exec-prefix/lib" which defaults to "prefix/lib". So |
30 |
how do we set the --libdir option so the libraries are compiled with |
31 |
the correct path? And what is moving the library files to the other |
32 |
directory? |
33 |
|
34 |
Aaron |
35 |
|
36 |
|
37 |
On Jul 19, 2007, at 2:54 AM, Fabian Groffen wrote: |
38 |
|
39 |
> On 19-07-2007 02:53:26 -0600, Aaron Wilson wrote: |
40 |
>>> Do you have any other dylibs in |
41 |
>>> ~/Library/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.2.0/? Can you |
42 |
>>> otool |
43 |
>>> them aswell to see if they correctly point to themselves? |
44 |
>> |
45 |
>> Yes, I have several more and they all point to the wrong path: |
46 |
>> ~/Library/Gentoo/usr/lib. |
47 |
> |
48 |
> Great! |
49 |
> |
50 |
> grrrrrrrr... |
51 |
> |
52 |
> |
53 |
> -- |
54 |
> Fabian Groffen |
55 |
> Gentoo on a different level |
56 |
> -- |
57 |
> gentoo-alt@g.o mailing list |
58 |
> |
59 |
|
60 |
-- |
61 |
gentoo-alt@g.o mailing list |