Hi Przemek,

-dynamic may be an answer for you.
Please try to create shared library from static one, f.e.:
  libtool -dynamic -o libhbcommon.dylib libhbcommon.a
if it will work then we skip .a library extracting in
hb-mkslib.sh for Darwin and will use them directly.

This command looks like a good lead, I got a lot of
unresolved symbols.

I've tried this in a dir having only those .a files
which would make up the .dylib:
libtool -dynamic -o harbour.dylib *.a

The system libs are missing from the cmdline.

I just hope we can tweak something to make a unibin OSX
release possible. Maybe the best temp solution should be
to drop shared libs on this platform, since it doesn't
truly effect the usefulness of Harbour, overall.

Please try to use libtool to create shared library directly
from static one. Maybe it will resolve the problem. If you
will see message that you need relocatable code then please
add to C_USR -fPIC or -fpic and rebuild Harbour.

There was no such message so far.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to