Hi Viktor,

In most of 64 bit Linux systems where hardware allow to execute 32 and
64 bit binaries default library directories for native 64 bit libraries
are /lib64 and /usr/lib64.
/lib and /usr/lib also exists but they are used for 32 bit libraries.
HBMK2 executed from /usr/bin by default choose /usr/lib/harbour so it
does not work with Harbour builds using default library directories.

The directory autodetection code in HBMK2 have to be changed and it
should look for harbour libraries in /usr/lib64/harbour and then if
they do not exist chose /usr/lib/harbour. It will be nice to enable
such order only for 64 bit system and revert it for 32 bit ones but
it's not strictly necessary yet.

It will be also nice if it can recognize -m32 and -m64 C compiler
switches (or some own new ones) used to force 32/64 bit builds
adopting autodetection order and passing -m32 or -m64 as compile
and link time parameter for GCC, ICC, SunCC. In all these compilers
it's standard switch to force 32 or 64 bit mode.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to