On Tue, 25 May 2010, [email protected] wrote:
> 2010-05-25 23:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
> + config/bsd/clang.mk
> + Base implementation of bsd/clang target.
> Based on patch by Tamas Tevesz with modifications:
> - deleted HB_DYN_COPT
> - replaced dynamic lib rules with bsd/gcc.mk.
> (both fully untested)
almost there. it seems that $hb_install_prefix/lib*.so ->
$hb_install_prefix/harbour/& links are not being made, for
postinst.sh appears to be not doing a thing.
is it possible that in some shape, way or form something along these
lines is needed?
Index: bin/postinst.sh
===================================================================
--- bin/postinst.sh (revision 14593)
+++ bin/postinst.sh (working copy)
@@ -270,7 +270,8 @@
[ "$HB_COMPILER" = "djgpp" ] || \
[ "$HB_COMPILER" = "icc" ] || \
[ "$HB_COMPILER" = "sunpro" ] || \
- [ "$HB_COMPILER" = "open64" ]
+ [ "$HB_COMPILER" = "open64" ] || \
+ [ "$HB_COMPILER" = "clang" ]
then
if [ -n "${HB_TOOLS_PREF}" ]; then
hb_mkdyn="${HB_INST_PKGPREF}${HB_BIN_INSTALL}/${HB_TOOLS_PREF}-mkdyn"
this seems to have fixed this remaining issue here, and hbmk2 is quite
happily churning out clang-compiled binaries.
--
[-]
mkdir /nonexistent
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour