options to make mongoclient.lib smaller

41 views
Skip to first unread message

Mick

unread,
Oct 30, 2012, 6:53:35 PM10/30/12
to mongo...@googlegroups.com
by using "scons mongoclient" with no other options I get a huge file, 124,760 KB.  What options can I use to get a smaller file?

Andy Schwerin

unread,
Oct 30, 2012, 8:25:58 PM10/30/12
to mongo...@googlegroups.com
Right now there are no options to that effect.

On Tue, Oct 30, 2012 at 6:53 PM, Mick <m.d.be...@gmail.com> wrote:
by using "scons mongoclient" with no other options I get a huge file, 124,760 KB.  What options can I use to get a smaller file?

--
You received this message because you are subscribed to the Google Groups "mongodb-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-dev/-/122AFx9_41sJ.
To post to this group, send email to mongo...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-dev?hl=en.

Mick

unread,
Oct 31, 2012, 1:12:17 PM10/31/12
to mongo...@googlegroups.com
why is there such a big difference in size for Linux?  the libmongoclient.a is only 5,259 KB...

Andy Schwerin

unread,
Oct 31, 2012, 1:32:15 PM10/31/12
to mongo...@googlegroups.com
I haven't investigated, but possibilities include the size of debugging information embedded in Windows, or the fact that MSVC uses link-time optimization, so maybe the object files contain extra data.

To view this discussion on the web visit https://groups.google.com/d/msg/mongodb-dev/-/g8zdUgFyc_UJ.
Reply all
Reply to author
Forward
0 new messages