Hi Guillermo

Guillermo Varona wrote:
> 
> [Environment]
> Description 1=Harbour + MinGW + DOS
> Description 2=
> Description 3=
> PRG Compiler ver=
> C compiler ver=
> Subsystem=
> Author=GVS
> Last update=12/05/2008
> 
> [Advanced]
> Command types=1,1,1,1,1,1,1,1,1
> 
> [Harbour]
> HB_INSTALL=C:\HarbourMinGW
> HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /es2 /a /b
> /i%HB_INC_INSTALL%
> Option prefix=/
> 
> [C]
> C_INSTALL=C:\MinGW
> C_COMP_COMMAND=%C_BIN_INSTALL%\gcc.Exe%CRLF% -I%HB_INC_INSTALL%%CRLF%
> -mno-cygwin -Wall -c %C% -o%OBJ%
> C_LIB_COMMAND=%C_BIN_INSTALL%\ar.Exe -M < %RSP%
> C_LINK_COMMAND=%C_BIN_INSTALL%\gcc.Exe -o%EXE% -Wall -mno-cygwin 
> -mconsole %LNK%
> C_RC_COMMAND=%C_BIN_INSTALL%\windres.exe -i %RC% -o %RES%
> C_DLL_COMMAND=
> Option prefix=-
> 

Thanks for sharing. 
As I am compiling for Windows protocol for demowvg.prg, 
I have modified .env as 

[Harbour] 
HB_INSTALL=c:\hrb_dist\mingw
HB_COMMAND=%HB_BIN_INSTALL%\Harbour.exe %PRG% /m /es2 /a /b /n /gc3 /w1
/i%HB_INC_INSTALL% 
Option prefix=/ 

[C] 
C_INSTALL=C:\MinGW 
C_COMP_COMMAND=%C_BIN_INSTALL%\gcc.exe%CRLF% -I%HB_INC_INSTALL%%CRLF% -Wall
-W -O3 -march=i586 -mtune=pentiumpro -c %C% -o%OBJ% 
C_LIB_COMMAND=%C_BIN_INSTALL%\ar.exe -M < %RSP% 
C_LINK_COMMAND=%C_BIN_INSTALL%\gcc.exe -o%EXE% -Wall -W -O3 -march=i586
-mtune=pentiumpro -mwindows %LNK% 
C_RC_COMMAND=%C_BIN_INSTALL%\windres.exe -i %RC% -o %RES% 
C_DLL_COMMAND= 
Option prefix=- 

[Files]  
Changed
--------
%HB_LIB_INSTALL%\libhbmt.a=32   =>
   %HB_LIB_INSTALL%\libhbvmmt.a=32 
Added
------
%C_LIB_INSTALL%\libgdi32.a=47 
%C_LIB_INSTALL%\libcomctl32.a=47 
%C_LIB_INSTALL%\libcomdlg32.a=47 

The .exe is created and executs properly 
( I can see it in task manager ) but 
I do not see it on the screen. It just appears in task
manager and then terminates. It appears as if
it is honoring GTNUL.lib instead of GTWVG.
Can you guide which switches should be added/modified?

Regards
Pritpal Bedi





-- 
View this message in context: 
http://www.nabble.com/Xmate-and-MinGW-Env-for-Applns-tp22270970p22292194.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