FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fwh make file for MinGW
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Fwh make file for MinGW
Posted: Thu Nov 10, 2011 07: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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fwh make file for MinGW
Posted: Thu Nov 10, 2011 08:02 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: Fwh make file for MinGW
Posted: Fri Nov 11, 2011 06:29 PM
Antonio Linares wrote:Rimantas,

http://code.google.com/p/fivewin-contributions/downloads/detail?name=win-make.exe&can=2&q=


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 :-)

Regards !
Rimantas U.
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: Fwh make file for MinGW
Posted: Fri Nov 11, 2011 06:50 PM
Rimantas wrote:
Antonio Linares wrote:Rimantas,

http://code.google.com/p/fivewin-contributions/downloads/detail?name=win-make.exe&can=2&q=


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 :-)

Regards !



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

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

Regards !
Rimantas U.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fwh make file for MinGW
Posted: Fri Nov 11, 2011 07:50 PM

Rimantas,

Please copy those warnings here, thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: Fwh make file for MinGW
Posted: Sat Nov 12, 2011 04: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 (fw): Select all Collapse
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.
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: Fwh make file for MinGW
Posted: Sat Nov 12, 2011 07: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.
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Fwh make file for MinGW
Posted: Sat Nov 12, 2011 09:00 PM

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

<yourexename>.exe.manifest

EMG

Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: Fwh make file for MinGW
Posted: 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.
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: Fwh make file for MinGW
Posted: Sun Nov 13, 2011 07: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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fwh make file for MinGW
Posted: Sun Nov 13, 2011 09:12 AM

Rimantas,

have you tried to redirect its output ?

gcc ... > log.txt

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: Fwh make file for MinGW
Posted: Sun Nov 13, 2011 09: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 (fw): Select all Collapse
\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.
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: Fwh make file for MinGW
Posted: Sun Nov 13, 2011 02: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.

Continue the discussion