Re: [Harbour] SF.net SVN: harbour-project:[14591] trunk/harbour
yOn Wed, 26 May 2010, Tamas TEVESZ wrote: > this seems to have fixed this remaining issue here, and hbmk2 is quite > happily churning out clang-compiled binaries. yuh, works nicely on freebsd8R-ish with devel/llvm-devel. netbsd decided to show virtualbox the finger, so that's on the back burner for now (but i wouldn't expect any serious problems with it). -- [-] mkdir /nonexistent ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] SF.net SVN: harbour-project:[14591] trunk/harbour
Hi, >> 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? It's very much possible. The thing is that these remaining bash scripts are on the far side of my attention. I was exploring to move any link-creation activities to postinst.prg, but didn't get there yet. I'm also hoping for some help here. > 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. Great, thanks. I will apply this change in a next commit. Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
Re: [Harbour] SF.net SVN: harbour-project:[14591] trunk/harbour
On Tue, 25 May 2010, vszak...@users.sourceforge.net 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) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour
[Harbour] SF.net SVN: harbour-project:[14591] trunk/harbour
Revision: 14591 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14591&view=rev Author: vszakats Date: 2010-05-25 21:41:14 + (Tue, 25 May 2010) Log Message: --- 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) * INSTALL * utils/hbmk2/hbmk2.prg + Added preliminary support for bsd/clang target. (untested) * contrib/hbide/idemisc.prg + Added hbide_pwd() function. Modified Paths: -- trunk/harbour/ChangeLog trunk/harbour/INSTALL trunk/harbour/contrib/hbide/idemisc.prg trunk/harbour/utils/hbmk2/hbmk2.prg Added Paths: --- trunk/harbour/config/bsd/clang.mk This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour