Hi Viktor,

Here is the next part of problems I noticed after some testings with
version:
   ChangeLog ID: ChangeLog 10475 2009-02-27 15:06:12Z vszakats

1. no extension is used for -cmp option
   hbmk -hbcmp t.prg
   generates object file "t" instead of "t.o"
2. hbmk -hbcmp t.c
   the same problem as in pkt. 1
3. hbmk -hbcc t.c
   does not call C compiler
4. automatic 1-st funtion detection does not work:
   echo "proc p;? 'hello'" > t.prg && hbmk2 -n -q2 t.prg && ./t
   Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'
5. it still creates binaries which uses harbour static libraries in *nixes
6. -fullstatic does not work. When this switch is used -static parameter
   should be passed to gcc. You cannot test it in MinGW because here
   such functionality does not exists and system libraries cannot be
   included.
7. The installation paths (LIB/INCLUDE) are not stripped:
   hbmk2 -n -q2 -shared t -trace
   hbmk: Harbour compiler command:
   /home/druzus/CVS/harbour/out/bin/../bin/harbour t \
         -i/home/druzus/CVS/harbour/out/bin/../include -n -q2
   hbmk: C compiler command:
   gcc t.c   -O3  -ot -I/home/druzus/CVS/harbour/out/bin/../include \
         -L/home/druzus/CVS/harbour/out/bin/../lib -L/usr/X11R6/lib \
         -Wl,--start-group -lharbour -lhbcplr -lhbdebug -lm -ldl -lrt \
         -lncurses -lslang -lX11 -Wl,--end-group

HTH,

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to