EXTRA_RUNPATH_DIRS, LD_OPTIONS an B direct

Riccardo Mottola rmottola at opencsw.org
Sat Jan 31 11:02:21 CET 2015


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.

Ideas?

Riccardo


More information about the maintainers mailing list