Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make smaller outputs binaries #50

Open
rbouqueau opened this issue Apr 14, 2016 · 1 comment
Open

Make smaller outputs binaries #50

rbouqueau opened this issue Apr 14, 2016 · 1 comment

Comments

@rbouqueau
Copy link
Member

Related to #12

For mingw64, there are several objs that are several megabytes. The whole extra + apps is 235Mb. dashcastx is 47Mb when it is 1.6Mb with MSVC2015.

See for precompiled headers and Explicit Instantiation of templates #34.

Also the C++ runtime + SEH exceptions are big.

May be postponed if #34 + #48 allows to have a small lib as the Signals output.

rbouqueau@bouqueau-PC MINGW32 /c/works/signals/signals/build/clang
$ ls -l /e/Users/rbouqueau/Documents/Works/tmp/signals_mingw-w64/bin
total 241345
-rwxr-xr-x 1 rbouqueau None    67584 Apr  7 07:23 MP42TS.exe
-rwxr-xr-x 1 rbouqueau None   263680 Apr  7 07:23 MP4Box.exe
-rwxr-xr-x 1 rbouqueau None    93696 Apr  7 07:23 MP4Client.exe
-rwxr-xr-x 1 rbouqueau None  1743213 Apr  7 07:11 SDL2.dll
-rwxr-xr-x 1 rbouqueau None 12170240 Apr  6 22:27 avcodec-56.dll
-rwxr-xr-x 1 rbouqueau None   135680 Apr  6 22:27 avdevice-56.dll
-rwxr-xr-x 1 rbouqueau None  1455104 Apr  6 22:27 avfilter-5.dll
-rwxr-xr-x 1 rbouqueau None  1890304 Apr  6 22:27 avformat-56.dll
-rwxr-xr-x 1 rbouqueau None   160256 Apr  6 22:27 avresample-2.dll
-rwxr-xr-x 1 rbouqueau None   448000 Apr  6 22:27 avutil-54.dll
-rwxr-xr-x 1 rbouqueau None 47227898 Apr 14 11:26 dashcastx.exe
-rwxr-xr-x 1 rbouqueau None   274432 Apr  6 22:27 ffmpeg.exe
-rwxr-xr-x 1 rbouqueau None   161280 Apr  6 22:27 ffprobe.exe
-rwxr-xr-x 1 rbouqueau None   294428 Apr  6 21:49 libass-5.dll
-rwxr-xr-x 1 rbouqueau None   268630 Apr  6 21:46 libexpat-1.dll
-rwxr-xr-x 1 rbouqueau None   957280 Apr  6 22:08 libfdk-aac-0.dll
-rwxr-xr-x 1 rbouqueau None   554528 Apr  6 21:49 libfontconfig-1.dll
-rwxr-xr-x 1 rbouqueau None   718211 Apr  6 21:45 libfreetype-6.dll
-rwxr-xr-x 1 rbouqueau None   206152 Apr  6 21:46 libfribidi-0.dll
-rwxr-xr-x 1 rbouqueau None   554175 Apr 14 12:31 libgcc_s_seh-1.dll
-rwxr-xr-x 1 rbouqueau None  4679680 Apr  7 07:23 libgpac.dll
-rwxr-xr-x 1 rbouqueau None   581466 Apr  7 08:44 libjpeg-62.dll
-rwxr-xr-x 1 rbouqueau None   341608 Apr  6 22:29 libjpeg-9.dll
-rwxr-xr-x 1 rbouqueau None   123739 Apr  7 07:05 libogg-0.dll
-rwxr-xr-x 1 rbouqueau None   321831 Apr  7 07:15 libopencore-amrnb-0.dll
-rwxr-xr-x 1 rbouqueau None   195146 Apr  7 07:15 libopencore-amrwb-0.dll
-rwxr-xr-x 1 rbouqueau None   481983 Apr  7 07:06 libpng-3.dll
-rwxr-xr-x 1 rbouqueau None   476351 Apr  7 07:06 libpng12-0.dll
-rwxr-xr-x 1 rbouqueau None   302373 Apr  6 21:49 librtmp-1.dll
-rw-r--r-- 1 rbouqueau None       13 Apr  6 21:49 librtmp.dll
-rwxr-xr-x 1 rbouqueau None 14675133 Apr 14 12:31 libstdc++-6.dll
-rwxr-xr-x 1 rbouqueau None   449682 Apr  7 07:12 libtheora-0.dll
-rwxr-xr-x 1 rbouqueau None   215780 Apr  7 07:12 libtheoradec-1.dll
-rwxr-xr-x 1 rbouqueau None   620387 Apr  7 08:44 libturbojpeg-0.dll
-rwxr-xr-x 1 rbouqueau None   237319 Apr  6 21:44 libvo-aacenc-0.dll
-rwxr-xr-x 1 rbouqueau None   329631 Apr  7 07:13 libvorbis-0.dll
-rwxr-xr-x 1 rbouqueau None   771754 Apr  7 07:13 libvorbisenc-2.dll
-rwxr-xr-x 1 rbouqueau None   139818 Apr  7 07:13 libvorbisfile-3.dll
-rwxr-xr-x 1 rbouqueau None   165456 Apr  6 22:09 libwinpthread-1.dll
-rwxr-xr-x 1 rbouqueau None 47859374 Apr 14 11:26 modules.exe
-rwxr-xr-x 1 rbouqueau None 46655767 Apr 14 11:26 mp42tsx.exe
-rwxr-xr-x 1 rbouqueau None 46621577 Apr 14 11:26 player.exe
-rwxr-xr-x 1 rbouqueau None   117760 Apr  6 22:27 postproc-53.dll
-rwxr-xr-x 1 rbouqueau None  7486624 Apr 14 11:25 signals.exe
-rwxr-xr-x 1 rbouqueau None   117248 Apr  6 22:27 swresample-1.dll
-rwxr-xr-x 1 rbouqueau None   526336 Apr  6 22:27 swscale-3.dll
-rwxr-xr-x 1 rbouqueau None  2198902 Apr 14 11:25 utils.exe
-rwxr-xr-x 1 rbouqueau None   707584 Apr  7 07:14 xvidcore.dll

@rbouqueau
Copy link
Member Author

Moving to CMake may help make these tests automatically. Removing deps to ASIO may also help, see #5 .

@rbouqueau rbouqueau modified the milestones: v1.0.0, v1.1.0 Apr 24, 2016
@rbouqueau rbouqueau changed the title Make smaller outputs Make smaller outputs binaries Aug 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant