Hi Viktor,
hbmk2 work fine when i create debian harbour package.
But if i build/install harbour with :
export HB_INSTALL_PREFIX=/usr/local
./make_gnu.sh install
I get this :
$ which hbmk2
/usr/local/bin/hbmk2
$ hbmk2 hello
hbmk: Processing configuration: /usr/local/bin/hbmk.cfg
Harbour 2.0.0beta1 (Rev. 11303)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'hello.prg'...
Lines 11, Functions/Procedures 1
Generating C source output to 'hello.c'... Done.
hello.c:7:21: error: hbvmpub.h: Aucun fichier ou dossier de ce type
hello.c:8:20: error: hbinit.h: Aucun fichier ou dossier de ce type
hello.c:11: warning: data definition has no type or storage class
hello.c:11: warning: parameter names (without types) in function declaration
hello.c:12: warning: data definition has no type or storage class
hello.c:12: warning: parameter names (without types) in function declaration
hello.c: In function ‘HB_INIT_SYMBOLS_BEGIN’:
(...)
$ hbmk2 -traceonly hello
hbmk: Processing configuration: /usr/local/bin/hbmk.cfg
hbmk: Harbour compiler command (internal):
/usr/local/bin/harbour -n2 hello -i/usr/local/include
hbmk: C compiler command:
gcc -c -O3 -I/usr/local/include hello.c
hbmk: Linker command:
gcc hello.o -Wl,--start-group -lharbour -lhbcplr -lhbdebug
-Wl,--end-group -ohello -L/usr/local/lib
note that include files are in /usr/local/include/harbour
and lib files in /usr/local/lib/harbour
Thank you,
--
Guy
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour