Hi Viktor,
- Is-it possible to run hbmk2 *without executing anything*, only
displaying the command lines ?
See it committed.
Thank you Viktor to consider this feature.
$ hbmk2 -traceonly t
hbmk: Processing configuration: /usr/bin/hbmk.cfg
hbmk: Harbour compiler command:
-n2 t -i/usr/include/harbour
hbmk: C compiler command:
gcc t.c -O3 -ot -I/usr/include/harbour -L/usr/lib/harbour
-L/usr/lib/harbour -Wl,--start-group -llibharbour -lhbcplr -lhbdebug
-Wl,--end-group
I'd prefer something like this (only 2 lines) :
harbour -n2 t -i/usr/include/harbour
gcc t.c -O3 -ot -I/usr/include/harbour -L/usr/lib/harbour
-L/usr/lib/harbour -Wl,--start-group -llibharbour -lhbcplr -lhbdebug
-Wl,--end-group
=> remove line starting with "hbmk: " perhaps with -quiet ?
=> add "harbour" to the harbour compiler command
So i can cut and paste or edit and run to make some tests ... very usefull
For example, now i can fix the -llibharbour => -lharbour ;-)
I think this feature would be very usefull.
- In the INSTALL file we can have the debian way (ubuntu,...) to
install harbour :
-------
$ fakeroot sh mpkg_deb.sh
$ sudo dpkg -i ../harbour_1.*.deb
To test it type:
$ echo '? "Hello world!"' > hello.prg
$ ./hello
You should see 'Hello world!' on screen.
--------
we should add also the rpm way ...
Package creation isn't in the scope of INSTALL, as I intentionally
didn't want to complicate things with it (package creation isn't
a requirement to create a usable *nix build). We should have
another document describing package creation related topics.
But, probably someone else will be a better candidate to give details
on these, as I don't use them, and I don't understand how they work
or why they work the way they do on different situations and distros.
Otherwise it'd be good to have such doc to clear up any question
regarding all the pkg creation variations we have.
Yes, agreed, packaging must be in distros ...
Best regards,
Guy
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour