Hi, $ cat t.prg #!/usr/bin/hbrun
proc main() ? isbit(5,1) return I get an error with : ./t.prg because hbct (isbit()) is not linked with hbrun ... So as a workaround i replace the first line of the harbour script like this : $ cat t.prg #ifdef SH_COMPILATION /* sh compilation : hbmk2 -notrace -quiet -run -q0 -n -p -gtcgi -lhbct $0 exit */ #endif proc main() ? isbit(5,1) return now my harbour script run fine : ./t.prg .T. Note that you can always compile the code with hbmk2 : hbmk2 -notrace -quiet -run -q0 -n -p -gtcgi -lhbct t Cool ... no ? Perhaps it is possible to replace #!/usr/bin/hbrun with something like this : #!/usr/bin/hbmk2 ... ? -- Guy _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour