discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where Is 'GSConfig.h'?


From: Philip Mötteli
Subject: Re: Where Is 'GSConfig.h'?
Date: Mon, 8 Sep 2003 23:45:48 +0200

Hi


Am Montag, 08.09.03, um 18:40 Uhr (Europe/Zurich) schrieb René Berber:
On 2003-09-07 16:42:46 -0500 Philip Mötteli <address@hidden> wrote:
Am Sonntag, 07.09.03, um 20:31 Uhr (Europe/Zurich) schrieb David Ayers:
Philip Mötteli wrote:
configure says also something else:

checking whether objc really works... no
I don't seem to be able to use your Objective-C compiler to produce
working binaries! Please check your Objective-C compiler installation. If you are using gcc-3.x make sure that your compiler's libgcc_s and libobjc
can be found by the dynamic linker - usually that requires you to play
with LD_LIBRARY_PATH or /etc/ld.so.conf.

Do you have more than one gcc installed?

Well, every Mac OS 10.2 has gcc version 2.x and 3.1 installed.


Please check on a terminal "which gcc"

% which gcc
/usr/bin/gcc


and "gcc -print-search-dirs"

% gcc -print-search-dirs
install: /usr/libexec/gcc/darwin/ppc/3.1/
programs: =/usr/libexec/gcc/darwin/ppc/3.1/
/usr/libexec/gcc/darwin/ppc/3.1/
/usr/libexec/gcc/darwin/ppc/
/usr/local/libexec/gcc/darwin/ppc/3.1/
/usr/local/libexec/gcc/darwin/ppc/
/usr/libexec/gcc/darwin/ppc-darwin/3.1/../../../../ppc-darwin/bin/ppc/ 3.1/
/usr/libexec/gcc/darwin/ppc-darwin/3.1/../../../../ppc-darwin/bin/
libraries: =/usr/libexec/gcc/darwin/ppc/3.1/
/usr/local/libexec/gcc/darwin/ppc/3.1/
/usr/libexec/gcc/darwin/ppc-darwin/3.1/../../../../ppc-darwin/lib/ppc/ 3.1/
/usr/libexec/gcc/darwin/ppc-darwin/3.1/../../../../ppc-darwin/lib/
/usr/lib/gcc/darwin/ppc/3.1/
/usr/lib/gcc/darwin/
/usr/libexec/gcc/darwin/ppc/3.1/../../../ppc/3.1/
/usr/libexec/gcc/darwin/ppc/3.1/../../../
/lib/ppc/3.1/
/lib/
/usr/lib/ppc/3.1/
/usr/lib/


I can't find 'ld.so.conf', so I tried finding libgcc_s and libobjc:

There's also this way: "gcc -print-libgcc-file-name"

% gcc -print-libgcc-file-name
/usr/lib/libgcc.a


usr/lib/libobjc.A.dylib
/usr/lib/libobjc.A_profile.dylib
/usr/lib/libobjc.dylib
/usr/lib/libobjc_profile.A.dylib
/usr/lib/libobjc_profile.dylib
/usr/lib/gcc/darwin/3.3/libgcc_static.a

This type of library only work with Apple's gcc (and NeXT's if you were using Openstep / NextStep). That's the reason I asked if you have more than one gcc installed, GNU's gcc will not use these libraries AFAIK.

Well, as far as I understood, Apple is also using gcc – of course configured for PPC?


Thanks
Phil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]