Hi Przemek,
Thank you so much for that!
I knew there had to be an easier way, but could not find it! Easy when you
know.
I have now built my small Linux application using xhgtk front end and
hbtpathy for the com functions - 
it works fine - just like my Xbase++ version in Windows - I am really
impressed with Harbour! 
It also builds with 
hbmk hdvr -lhbtpathy -xhgtk    //Much easier than my 3 step approach!
It produces a 40kB executable which runs on this machine. 
Question, what other files do I need to deploy to another machine that has
no Harbour installed to enable it to run there? Is there a tool to do this?
Regards,
Barry.


Przemyslaw Czerpak-2 wrote:
> 
> On Wed, 07 Jan 2009, Barry Jackson wrote:
> 
> Hi Barry,
> 
> [...]
>> I have compiled and linked the test program as follows:-
>> 
>> [...@jackodesktop hbr]$ hbcmp -gc -n telepath.prg
>> Harbour 1.1.0dev (Rev. 9956)
>> Copyright (c) 1999-2008, http://www.harbour-project.org/
>> Compiling 'telepath.prg'...
>> Lines 1137, Functions/Procedures 31
>> Generating C source output to 'telepath.c'... Done.
>> 
>> [...@jackodesktop hbr]$ hbcmp -gc testtp.prg
>> Harbour 1.1.0dev (Rev. 9956)
>> Copyright (c) 1999-2008, http://www.harbour-project.org/
>> Compiling 'testtp.prg'...
>> Lines 19, Functions/Procedures 3
>> Generating C source output to 'testtp.c'... Done.
>> 
>> [...@jackodesktop hbr]$ hbcc testtp.c telepath.c tpcommon.c tplinux.c
>> [...@jackodesktop hbr]$
> 
> It's not directly related to your problem but I think that you should not
> build final application in such compilicated way. bhbtpathy is created by
> GNU make system when you build Harbour so it should be enough to make:
>    hbmk testtp.prg -lbhbtpathy
> 
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using--contrib-hbtpathy-fuctions-in-Linux-tp21339751p21370374.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to