On Mon, 24 Aug 2009, Szak�ts Viktor wrote: > Did you try latest harbour dynamic lib integration into GNU Make > on *nix systems? > Maybe I missed something for *nix platforms, but for non-*nix > it seems to work okay. In GNU make it can work also for platforms > which need different compiler settings for dlls and it also > works for all shells, which means it also works in cross-build > scenarios. > If this works well, we may not need to make them in postinst > phase. We'd still need however the link creation logic at > postinst, but that's sh specific anyway.
I tried it. Just a few notes after testing some builds. 1. in native Linux build 'lib' prefix is missing in library name 2. shared libraries do not contain GTCRS and GTSLN 3. they are not linked with system libraries 4. in Linux builds shared libraries are not created for suncc and icc 5. in mingw cross builds harbour-20.a and harbourmt-20.a without lib prefix are created. Additionally they are not necessary for mingw because it can create import library for harbour*.dll online. The same problem is with MinGWCE builds. 6. bcc builds fails when sh shell is used due to forward slashes instead of backslashes in file names 7. I do not see any easy way to include some other libraries in custom builds, i.e. for my won use I used to create shared libraries with some contrib ones like hbct and some of my own like dbrmap. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
