[vlc-devel] Binary Sizes
Marvin Scholz
epirat07 at gmail.com
Wed Jul 19 13:00:53 UTC 2023
On 19 Jul 2023, at 14:15, Batuhan Erol wrote:
> Hello,
> I just realized I had to strip, thank you for the reply. It reduces to the
> same size.
>
> Do I have to manually do that for each binary, or is there a flag to not
> put "-g" in compiler options?
>
You can just supply CFLAGS, CXXFLAGS to configure after the options:
./configure --something CFLAGS=-g CXXFLAGS=-g
> On Wed, Jul 19, 2023 at 3:13 PM Jean-Baptiste Kempf <jb at videolan.org> wrote:
>
>> Did you strip afterwards?
>>
>> On Wed, 19 Jul 2023, at 14:11, Batuhan Erol wrote:
>>
>> Hello,
>>
>> I am building vlc from github for debian (bullseye) from 3.0.18 branch
>> with Qt 5.15.
>>
>> I am experiencing significantly higher binary sizes in all binaries but
>> the one I am mainly interested is libqt_plugin.so;
>>
>> - Bullseye repository: 3414160 bytes (3.3 MB)
>> - The one I build: 59963200 bytes (58 MB)
>>
>> I use these flags besides, the library ones, while configuring;
>>
>> ...
>> --enable-shared \
>> --disable-static \
>> --docdir=/usr/share/doc/vlc \
>> --disable-debug \
>> --enable-optimizations \
>> --disable-skins2 \
>> --enable-qt \
>> ...
>>
>> Is there a flag that I am missing? Can someone help me reduce the binary
>> size?
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>>
>>
>> --
>> Jean-Baptiste Kempf - President
>> +33 672 704 734
>>
>>
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list