Fwh make file for MinGW

Fwh make file for MinGW

Postby Rimantas » Thu Nov 10, 2011 7:51 pm

Hi,

Excuse , but I can't understand with which tool I must to run 'makefile' from fwh\makes\gccmake.zip ? :shock:

Thanks in advance !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Fwh make file for MinGW

Postby Antonio Linares » Thu Nov 10, 2011 8:02 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fwh make file for MinGW

Postby Rimantas » Fri Nov 11, 2011 6:29 pm



Thanks ... :-) . But for stupidity aren't limits ... :-) How to use that win-make ? I tried "win-make makefile" , "win-make @makefile" and etc ... Not working :cry:

Regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Fwh make file for MinGW

Postby Rimantas » Fri Nov 11, 2011 6:50 pm

Rimantas wrote:


Thanks ... :-) . But for stupidity aren't limits ... :-) How to use that win-make ? I tried "win-make makefile" , "win-make @makefile" and etc ... Not working :cry:

Regards !



Found ... :oops: win-make -fmakefile ... :-)

Another question : how to disable such stupid warnings "multiply definition of 'BLABLA' ... " ?

Regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Fwh make file for MinGW

Postby Antonio Linares » Fri Nov 11, 2011 7:50 pm

Rimantas,

Please copy those warnings here, thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fwh make file for MinGW

Postby Rimantas » Sat Nov 12, 2011 4:05 pm

Antonio Linares wrote:Rimantas,
Please copy those warnings here, thanks! :-)


Excuse Antonio , those warnings was with hbmk2 , with win-make , all is OK . Another question exist ... :-) . From your make sample I found that differs linking with or without rc file compilation :
Code: Select all  Expand view

test.exe : $(PRG_OBJS) $(C_OBJS)
    if not exist one.rc $(mingw)\bin\gcc -otest.exe ./obj/one.o ./obj/two.o ./obj/three.o \
    -Wall -s -mwindows $(libspath) -mno-cygwin -Wl,--start-group $(libraries) -Wl,--end-group
    if exist one.rc $(mingw)\bin\gcc -otest.exe ./obj/one.o ./obj/two.o ./obj/three.o [color=#FF0000]_one.o [/color]\
    -Wall -s -mwindows $(libspath) -mno-cygwin -Wl,--start-group $(libraries) -Wl,--end-group
 


As I can understand this _one.o must file compiled from one.rc file . But I can't find this place where it must be done . Can you add lines for this , how it must be with rc file ?

With best regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Fwh make file for MinGW

Postby Rimantas » Sat Nov 12, 2011 7:50 pm

Question - if I wanna to add ONLY windows theme manifest file to exe it must be created and linked rc file ? at a first glance from googles search it seems that no any other way ... How really it's ?

Regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Fwh make file for MinGW

Postby Enrico Maria Giordano » Sat Nov 12, 2011 9:00 pm

No, you can create a manifest file and rename it as

<yourexename>.exe.manifest

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8712
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Fwh make file for MinGW

Postby Rimantas » Sat Nov 12, 2011 10:29 pm

Enrico Maria Giordano wrote:No, you can create a manifest file and rename it as

<yourexename>.exe.manifest

EMG


Thanks Enrico ! That is good !

With best regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Fwh make file for MinGW

Postby Rimantas » Sun Nov 13, 2011 7:00 am

Hi friends !

Please help again to me . At this moment I have questions : how let to win-make create error log ? Ooops , sorry : how to let mingw linker create error log ?

With best regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Fwh make file for MinGW

Postby Antonio Linares » Sun Nov 13, 2011 9:12 am

Rimantas,

have you tried to redirect its output ?

gcc ... > log.txt
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42085
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fwh make file for MinGW

Postby Rimantas » Sun Nov 13, 2011 9:54 am

Antonio Linares wrote:Rimantas,

have you tried to redirect its output ?

gcc ... > log.txt


Hi Antonio ,

Yes I tried that , but this did only 0 bytes file ... :-( . Also I tried and for win-make ( exist such possibility ) , but that redirected only linker command , not erros : \hrb\bin\win-make -fmakefile >make.log

make log :
Code: Select all  Expand view

\hrb\comp\mingw\bin\gcc -oengel.exe ./obj/engel.o ./obj/func.o ./obj/func_dsg.o ./obj/func_dt.o ./obj/tarray.o ./obj/texcels.o \
-Wall -s -mwindows -L\hrb\comp\mingw\lib -L\hrb\lib\win\mingw -L\fwh\lib -mno-cygwin -Wl,--start-group -lfivehg -lfivehgc -lgtgui -luser32 -lwinspool -lcomctl32 -lcomdlg32 -lgdi32 -lole32 -loleaut32 -luuid -lwinmm -lvfw32 -lwsock32 -lmsimg32 -lhbclipsm -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbcurl -lhbfbird -lhbgd -lhbhpdf -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmisc -lhbmzip -lhbnf -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbsqlit3 -lhbtip -lhbusrrdd -lhbvm -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -Wl,--end-group > link.log
 


link.log - 0 bytes ...

So I'm asking here how to do that ... :?
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Fwh make file for MinGW

Postby Rimantas » Sun Nov 13, 2011 2:55 pm

Solved ! Now I'm using hbmk2 and all is buikding OK . Log of building : hbmk2 go.hbp >mak.log 2>&1

Reagrds !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 116 guests