Search found 54 matches: bloated

Return to advanced search

Re: Manifest for 64 Bit

... "3C" using MSVC and "Microsoft Resource Compiler" Sorry, never used "Microsoft Resource Compiler", I don't like the bloated, limited and bugged MS tools. You have to find what is the syntax it requires for base64 embeded resources. Probably it doesn't support them. ...
by Enrico Maria Giordano
Thu Aug 04, 2022 7:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Manifest for 64 Bit
Replies: 6
Views: 320

Re: Bloated EXEs (reprise)

Enrico,

If you link the FWH libraries, then the errorsys is replaced and FWH's one uses dialogs, so Class TWindow, TDialog, etc (many of them) get linked in
by Antonio Linares
Wed Jul 26, 2017 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

I already disabled incremental mode. Anyway, I tried: same result.

EMG
by Enrico Maria Giordano
Wed Jul 26, 2017 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

Enrico,

Previous to link, delete exe file and rebuild, pls.

Why ? Ilink32 have a incremental mode.
by hmpaquito
Wed Jul 26, 2017 10:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

Antonio,

I already sent the map to you. It looks like most of FWH modules is linked and I can't understand the reason why they should... :-(

EMG
by Enrico Maria Giordano
Wed Jul 26, 2017 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

Please check the linked modules in the map file

there is no other way to know it
by Antonio Linares
Wed Jul 26, 2017 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

Antonio, did you mean by "FWH libs replace Harbour errorsys", that the FWH owned errorsys is linked automatically and the size of the .exe can be explained by this? yes Then why this sample is still 3195904 in size? FUNCTION MAIN()    RETURN NILFUNCTION ERRORSYS()    RETUR...
by Enrico Maria Giordano
Wed Jul 26, 2017 7:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

gkuhnert wrote:Antonio,
did you mean by "FWH libs replace Harbour errorsys", that the FWH owned errorsys is linked automatically and the size of the .exe can be explained by this?


yes
by Antonio Linares
Wed Jul 26, 2017 2:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

I wanted to share my observations. First, on WIndows, I use msvc and msvc64 exclusively. Never BCC. If I compile the sample program as is I wind up with a 650 KB executable. If I add #include "fivewin.ch" to the top of the sample, but still with no calls at all to FWH code, and no other ch...
by rhlawek
Tue Jul 25, 2017 7:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

You can use buildx.bat.

EMG
by Enrico Maria Giordano
Tue Jul 25, 2017 10:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

send me your .mak file, pls.
by hmpaquito
Tue Jul 25, 2017 9:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

It's almost 1 MB, too much to paste here. Please send me a private message and I will send back the map file to you.

EMG
by Enrico Maria Giordano
Tue Jul 25, 2017 8:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

Can you paste a map file piece ? Perhap, the trick is searchs map some file symbol in rtl of xHarbour and if founded then they are. You work es very usefull for found if fwh overwrite some basis rtl functions. I have a no explicable problem with harbour+ fwh... only if fwh is linking, http://forums....
by hmpaquito
Tue Jul 25, 2017 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

Building exe is task of linker. If exe no decrease on remove lib is a linker problem. The linker is forced to link a module if a symbol of that module is referenced in the program. In my sample, no FWH symbols are referenced. This is demonstrated by the fact that the linker doesn't complain if I re...
by Enrico Maria Giordano
Tue Jul 25, 2017 7:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060

Re: Bloated EXEs (reprise)

Allright, but note what increase problem is no a fwh problem or harbour problem: it's a C linker problem No, it isn't. If I remove or add an unused lib from the list, the EXE size doesn't change. EMG No, it isn't ?? :shock: Building exe is task of linker. If exe no decrease on remove lib is a linke...
by hmpaquito
Tue Jul 25, 2017 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bloated EXEs (reprise)
Replies: 33
Views: 5060
Next

Return to advanced search

cron