Hi Riccardo,

> Am 31.01.2015 um 11:02 schrieb Riccardo Mottola <[email protected]>:
> 
> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to