Re: [libtorrent] Minimize the size of simple_client.exe
Brought to you by:
arvidn
From: <ar...@cs...> - 2011-03-27 20:53:34
|
Quoting 1 2 <bad...@gm...>: > > It's been a while since I tried to make a small libtorrent binary, I think > I got > > it pretty close to uT. maybe a few hundred kB before compression > uT is compressed with UPX so it is fair to compare compressed > libtorrent against uT. > > Anyway, I can't use use many options with bjam because it would fail > with "The input line is too long". I already use --abbreviate-paths > but it isn't enough. bjam cuts the line at 8237th character. I believe this is a limitation of the windows terminal/shell. The msvc compiler has a workaround for this where you can specify your command line arguments in a file (called a response file), which boost-build uses for msvc. unless you're running into a path being too long, which I'm not sure what to do about. -- Arvid Norberg |