On Sun, 2008-12-07 at 17:15 +0100, Przemyslaw Czerpak wrote:
> On Sun, 07 Dec 2008, Ciro Vargas Clemow wrote:
> > Hi all:
> > I need a working sample (prg) (in linux ) in order to test gtxwc.
> > anybody can I help me?
> 
>    /* tst.prg */
>    proc main()
>       allert( "Hello World !!!" )
>    return
> 
> hbmk -n -w -es2 tst.prg -gtxwc && ./tst
> 
> best regards,
> Przemek
> _______________________________________________


[EMAIL PROTECTED]:~/source/puzzles/hello> cat hello.prg
* I need a working sample (prg) (in linux ) in order to test gtxwc.
* anybody can I help me?

   /* tst.prg */
   proc main()
*     allert( "Hello World !!!" )
      alert( "Hello World !!!" )
   return

* hbmk -n -w -es2 tst.prg -gtxwc && ./tst

* best regards,
* Przemek
[EMAIL PROTECTED]:~/source/puzzles/hello> hbmk -n -w -es2 hello.prg -gtxwc 
Harbour 1.1.0dev (Rev. 9894)
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'hello.prg'...
Lines 13, Functions/Procedures 1
Generating C source output to 'hello.c'... Done.
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../crt1.o: In function
`_start':
(.text+0x18): undefined reference to `main'
./hello.o: In function `hb_vm_SymbolInit_HELLO':
hello.c:(.text+0x2e): undefined reference to `hb_vmProcessSymbolsEx'
./hello.o: In function `HB_FUN_MAIN':
hello.c:(.text+0x50): undefined reference to `hb_vmExecute'
./hello.o:(.data+0x18): undefined reference to `HB_FUN_ALERT'
/tmp/ccPaRa0i.o: In function `_hb_lnk_ForceLink_build':
hb-build-wbs-3985.c:(.text+0x7): undefined reference to
`HB_FUN_HB_GT_XWC'
/tmp/ccPaRa0i.o: In function `hb_lnk_SetDefault_build':
hb-build-wbs-3985.c:(.text+0x12): undefined reference to
`hb_gt_szNameDefault'
collect2: ld returned 1 exit status


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

Reply via email to