Re: [gtk-list] HP-UX modules follow up



"D. Emilio Grimaldo Tunon" wrote:

> --> Linking Plugin A: lib/libpluga.sl.0.0.0
>         cc -Wl,-b -Wl,+h,libpluga.sl.0 -o lib/libpluga.sl.0.0.0
> obj/libpluga.o -ldld
> /usr/ccs/bin/ld: DP relative code in file /opt/langtools/lib/crt0.o -
> shared library must be position
>     independent.  Use +z or +Z to recompile.
> 
>                         TIA,
>                                 Emilio


  Strange thing, using cc and passing -Wl arguments causes it to
break, whereas using ld directly makes it link without problems.
But on Linux I get the opposite effect, using ld directly causes
problems and using cc to link makes it good, any ideas?

-- 
D. Emilio Grimaldo Tunon       Compuware Europe B.V. (Uniface Lab)
Software Engineer	       Amsterdam, The Netherlands
emilio_tunon@nl.compuware.com  Tel. +31 (0)20 3126 516
*** The opinions expressed hereby are mine and not my employer's ***



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