Hi Istvan,
Many thanks for the patch. I'll do some local tests with MinGW,
and commit the results ASAP. (Probably Cygwin/gcc should also
be modified along with mingw.)

Brgds,
Viktor

2009/3/3 Bisz István <[email protected]>

>  Hi Viktor,
>
>
>
> The commands sequence:
>
>
>
> set PATH=C:\MinGW-5.1.4\bin;c:\MinGW-5.1.4\mingw32\bin
>
> c:\harbour\mingw\bin\hbmk2 -info -trace -oc:\harbour\mingw\demowvg.exe
> c:\Downloads\harbour\contrib\gtwvg\tests\gtwvg.hbp
> c:\Downloads\harbour\contrib\gtwvg\tests\demowvg.prg
>
>
>
> generates the error:
>
>
>
> C:\Users\ISTVN~1\AppData\Local\Temp/cc0zxsaV.o:hbmk_zg6n02.c:(.text+0x2f):
> undefined reference to `_imp__hb_gtSetDefault'
>
>
>
> after changing the line 1562 in hbmk2.prg:
>
>
>
>             *CASE* t_cCOMP $ "gcc|mingw"    ; tmp :*=* "__attribute__ ((
> dllimport ))"
>
>  into the lines:
>
>
>
>             *CASE* t_cCOMP *==* "gcc"         ; tmp :*=* "__attribute__ ((
> dllimport ))"
>             *CASE* t_cCOMP *==* "mingw"       ; tmp :*=* ""
>
>  the error disappears .
>
>
>
> Best regards and congratulations,
>
> István
>
>
>
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to