Maurizio, This is the closer I have just tried: set path=c:\mingw\bin c:\harbour\bin\hbmk2 tutor02 -compiler=mingw -ic:\fwh\include -lfivehg.a -lfivehgc.a -lhbwin.a -Lc:\fwh\lib I understand that hbmk2 is easy, but its sources are really complex in case that it may not work as desired... I do prefer...