Konquror 3 size can be reduced furthure

Luciano Montanaro mikelima at cirulla.net
Mon Oct 17 10:05:22 CEST 2005


El Lunes, 17 de Octubre de 2005 08:04, AnsumanTapan Satpathy escribió:
> Hi Luciano,
>
> In the process of just an experiment, i discovered something quite
> strange.
>
> I am compiling the 3rd march konqueror release with "--disable-shared
> --enable-static" for linux desktop. After stripping the final
> statically linked "konqueror" executable comes out to be 4.5 MB.
>
> But instead, i tried to link all object files generated by the
> compilation process and created a final statically linked executable
> whose size comes out to be 3.5 MB only..
>
> Is there something wrong in the Makefiles of the existing release ?

That depends on your viewpoint.
In the konq-embed/src/Makefile.am file there is a line that reads

konqueror_LDFLAGS = $(KONQ_SSL_LDFLAGS) $(all_libraries) -export-dynamic

which is needed if you want external libraries to access symbols in the
main executable. Some of the plugins or add-ons may need symbols which are 
linked in the main executable.

If you do not need them, you may try removing the -export-dynamic flag, 
which should bring the executable to a size in the range of your 
measurements.

Luciano 
>
> Regards.
> Ansuman
> _______________________________________________
> konq-e mailing list
> konq-e at kde.org
> https://mail.kde.org/mailman/listinfo/konq-e

-- 
Luciano Montanaro //
              \\ //
               \x/ www.cirulla.net


More information about the konq-e mailing list