Automatic library linking in boost is done by #including the <boost/config/auto_link.hpp> file.

In the date_time library this is done via the <boost/date_time/compiler_config.hpp> file.

Have a search through the date_time tree for references to this compiler_config.hpp file (there's a whole bunch of them), and you can work where it is being included.

As for the WHY - it looks like the .lib file is needed for some posix_time and gregorian functionality. I'm not too familiar with the lib so that's all I can tell for now :)

Regards,
Alex


2008/6/30 Edward Diener <eldiener@tropicsoft.com>:
I used a minimum set of functions in date_time in my VC9 code, but it appears to pull in the date/time DLL by asking for libboost_date_time-vc90-mt-gd-1_35.lib. I can not see where this is being generated but from looking at boost_date_time-vc90-mt-gd-1_35.dll I doubt I am using the functionality in it.

Does anybody know why it is required ?

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users