discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Does apple-apple-apple work?


From: Philip Mötteli
Subject: Re: Does apple-apple-apple work?
Date: Tue, 27 Jan 2004 11:50:58 +0100

Am 27.01.2004 um 11:05 schrieb David Ayers:
Philip Mötteli wrote:
Thanks for the offer! I will try to use it for the next issue, which is probably very easy: I can actually compile GDL2 now – until the linker stage:

Making all for library libgnustep-db2control...
 Linking library libgnustep-db2control ...
/usr/bin/libtool: can't locate file for: -l-lgnustep-base
/usr/bin/libtool: file: -l-lgnustep-base is not an object file (not allowed in a library)

I think, this is just a syntax error. Somehow, the makefile has this line in a weird way, such that there's no library name given for the first "-l", is it?

Hmm, this seems to be related to:
/EOControl/GNUmakefile:
libgnustep-db2control_LIBRARIES_DEPEND_UPON = -lgnustep-base
which in the apple-apple-apple case is wrong... it should be
/EOControl/GNUmakefile:
libgnustep-db2control_LIBRARIES_DEPEND_UPON = -lgnustep-baseadd
(and potentially some -fFoundation magic... but I'm not sure.)

Well, that is the naming of the included library, which I circumvented temporarely by making:

% ls -l /usr/GNUstep/System/Library/Libraries
libgnustep-base.so -> /System/Library/Frameworks/Foundation.framework/Foundation
libgnustep-db2.so -> /Library/Frameworks/EOAccess.framework/EOAccess

I do agree, that this should also be covered in configure/makefile, but there seems to be another problem with this empty "-l". Because the issue remains even with the links.


BTW:  Is this true?

    libgnustep-db2.so        == EOAccess
    libgnustep-db2control.so    == EOControl
    libgnustep-base.so        == Foundation + GNUstepBase-Additions

almost,
libgnustep-base == GNUstepBase (incl. Additions)

That's what I wanted to say: 'libgnustep-baseadd' is called 'GNUstepBase' on MOSX. Which means, that in the makefiles, we should have something like this:

but you should have
libgnustep-baseadd == GNUstepBase-Additions
(which in turn could depend upon Foundation somehow.)

Or we should split the included libgnustep-base into 'Foundation' and 'GNUstepBase' on MOSX


I hope I can find time to fix the GDL2 part this afernoon.

I will be on the usual IRC channel – if you need me.


Thanks!
Phil





reply via email to

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