Tamaño lib msvc32 bastante grande.

Post Reply
User avatar
jvtecheto
Posts: 603
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

Tamaño lib msvc32 bastante grande.

Post by jvtecheto »

Hola amigos:

Tengo generada la lib. para msvc32 sin problemas, pero mi curiosidad es que para Borland 32 7.4 pesa unos 29 Ks. y sin embargo para MSVC32 59, el doble.
me parece raro ya que los ejecutables, si bien son un pocos mas grandes en MSVC , la diferencia es insignificante.

Algo debo hacer mal en la generacion de la lib para que pese tanto. Os adjunto el fichero .hbp para ver si vosotros veis algo
que tendria que cambiar.

Code: Select all | Expand

#
# Flags del compilador
#
-inc
-hblib

# -pause

#
# prg principal
#

C:\FivEdit\Projects\Jvchwin\source\UTILS
C:\FivEdit\Projects\Jvchwin\source\CALC 
C:\FivEdit\Projects\Jvchwin\source\USBFUNCS

#INCLUDEs
-ic:\fwh\include

#LIBRERIAS FW
-Lc:\fwh\lib
-lFiveH32
-lFiveHC32

#
# lib: Jvchwin
# 
-oC:\FivEdit\Projects\Jvchwin\lib\Jvchwin

#LIBRERIAS HARBOUR (se añaden las cabeceras .hbc)
xhb.hbc
hbct.hbc
hbwin.hbc
hbmzip.hbc
hbziparc.hbc
hbhpdf.hbc
hbcomm.hbc
hbmxml.hbc
 
Gracias anticipadas.

Jose
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: Tamaño lib msvc32 bastante grande.

Post by Antonio Linares »

Estimado Jose,

Se debe al formato interno que usan las librerias COFF (Microsoft) en vez de las librerias OMF (Borland)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
jvtecheto
Posts: 603
Joined: Mon Mar 04, 2013 4:32 pm
Location: Spain

Re: Tamaño lib msvc32 bastante grande.

Post by jvtecheto »

Muchas gracias Antonio.

Ahora veo el tamaño de las libs de Fivewin fiveh.lib y fiveh32.lib y tienen un 50% mas de tamaño, no se me habia ocurrido
mirar las libs de Fivewin.

Un abrazo.

Jose.
Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: Tamaño lib msvc32 bastante grande.

Post by Antonio Linares »

Estimado Jose,

Aunque el tamaño de las libs sea más grande, eso no quiere decir que el tamaño del EXE vaya a ser más grande.

No los he comparado, pero no creo que haya mucha diferencia :-)

otro abrazo para ti
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply