Hello,
I have 2 modules (actually I have more of them, but 2 are giving me headaches) : 'error' and 'time'. Now I need to create 2 shared libraries 'error' and 'time', but what happens ?
'error' uses 'time' and 'time' uses 'error'.
ld -o liberror.sl error.o -ltime
ld -o libtime.sl time.o -lerror
This does not work. On other Unix flavours, and on NT, I can adapt the ld command :
ld -o liberror.sl error.o -bI:time.def
ld -o libtime.sl time.o -bI:error.def
with the .def file containing all functions exported by the shared library.
Is there such a possibility on HP-UX ?
By the way, I am currently on HP-UX 10.20, but soon on 11.0. Does this make any difference.
Regards,
Luc
I have 2 modules (actually I have more of them, but 2 are giving me headaches) : 'error' and 'time'. Now I need to create 2 shared libraries 'error' and 'time', but what happens ?
'error' uses 'time' and 'time' uses 'error'.
ld -o liberror.sl error.o -ltime
ld -o libtime.sl time.o -lerror
This does not work. On other Unix flavours, and on NT, I can adapt the ld command :
ld -o liberror.sl error.o -bI:time.def
ld -o libtime.sl time.o -bI:error.def
with the .def file containing all functions exported by the shared library.
Is there such a possibility on HP-UX ?
By the way, I am currently on HP-UX 10.20, but soon on 11.0. Does this make any difference.
Regards,
Luc