bug-gnustep
[Top][All Lists]
Advanced

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

Re: tweak for gnustep-make to make which_lib work on Darwin


From: Richard Frith-Macdonald
Subject: Re: tweak for gnustep-make to make which_lib work on Darwin
Date: Fri, 28 Jun 2002 22:13:10 +0100

On Friday, June 28, 2002, at 09:06 PM, Lars Sonchocky-Helldorf wrote:

After hours of unsuccessful trials to make gnustep-make/which_lib detect a given library on Darwin I finally found a solution which works at least partly:

which_lib is not supposed to detect libraries ... it's a tool for selecting which of a variety
of GNUstep libraries to use depending on user specified options.
For instance, If debug=yes, it selects the debug version of the gnustep library, otherwise it selects
a non-debug version.


As the result now libz is found. That is not exactly what I was going for, my original goal was to make which_lib detect libobjc_d.dylib during the build process of gnustep-base to link against it.

Putting libobjc_d.dylib in the correct directory (/opt/GNUstep/System/Libraries/powerpc/darwin I guess)
should do fine.

Generally, the location of a GNUstep library should be
  root/Libraries/$(GNUSTEP_HOST_CPU)/$(GNUSTEP_HOST_OS)
or
  root/Libraries/$(GNUSTEP_HOST_CPU)/$(GNUSTEP_HOST_OS)/$(LIBRARY_COMBO)

where 'root' is $GNUSTEP_USER_ROOT or $GUSTEP_LOCAL_ROOT or $GNUSTEP_SYSTEM_ROOT

Since a debug version of libobj is not standard, it should probably go in the $GNUSTEP_USER_ROOT or $GUSTEP_LOCAL_ROOT directory ... the latter if more than one user is
intended to have access to it.




reply via email to

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