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

Reply via email to