Hi, I wrote only little apps (scripts) with harbour. Now i put these lines on top of my prg :
------------- #ifdef SH_COMPILATION /* sh compilation : hbmk -n -p -gtcgi -gtstd -gtpca -gttrm -gtxwc -L/usr/lib/mysql -lmysqlclient $0 nameprg="$0" shift ./${nameprg%.*} "$*" exit */ #endif -------------- So i can compile and exec my apps with : ./my.prg myparameters This is very usefull when i can't put #!/usr/bin/hbrun because all libraries are not linked with hbrun. Perhaps there is a more beautifull or generic way to do this ? Guy _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour