EXTRA_RUNPATH_DIRS, LD_OPTIONS an B direct

Dagobert Michelsen dam at opencsw.org
Sat Jan 31 11:23:07 CET 2015


Hi Riccardo,

> Am 31.01.2015 um 11:02 schrieb Riccardo Mottola <rmottola at opencsw.org>:
> 
> Hi,
> 
> might I ping this question?
> 
> Riccardo Mottola wrote:
>> 
>> Do you usually link programs using gcc or the linker? Perhaps this is part of the problem. I made make messages verbose and see this:
>> /opt/csw/bin/gcc-4.9      -mcpu=v9 -Wa,-xarch=v8plus -L/opt/csw/GNUstep/lib -L/opt/csw/lib -shared-libgcc  -pthread -fexceptions -fgnu-runtime -o obj/make_strings \
>>        ./obj/make_strings.obj/make_strings.m.o ./obj/make_strings.obj/SourceEntry.m.o ./obj/make_strings.obj/StringsEntry.m.o ./obj/make_strings.obj/StringsFile.m.o \
>>          -L../../Source/./obj -L/home/rmottola/GNUstep/Library/Libraries -L/opt/csw/GNUstep/Local/Library/Libraries -L/opt/csw/GNUstep/System/Library/Libraries -L/opt/csw/GNUstep/Local/Library/Libraries -L/opt/csw/GNUstep/Local/Library/Libraries -L/opt/csw/GNUstep/System/Library/Libraries -L/opt/csw/lib -lgnustep-base    -lobjc   -lsocket -lnsl -lm
>> 
>> 
>> Is this usual? How do other package link? 
> 
> My hypothesis is that gnustep-make leaves LL_OPTIONS untouched, however since "ld" is not invoked directly it doesn't work. Since the compiler itself (gcc) is used to link, there needs an other way to pass it.

No, when you link with gcc also ld is invoked:
  https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/pkg/gcc4/trunk/Makefile#74

I wouldn’t mind too much with direct binding. libssl is important here, the other libs are
by far not that relevant for direct binding.


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20150131/acd0b5a3/attachment.p7s>


More information about the maintainers mailing list