Boost logo

Boost Users :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-04-12 14:45:18


"Pierre-Jules Tremblay" <iamtrep_at_[hidden]> wrote in message
news:4590bfef0604121121j58d11fefu89ccc83778bab02b_at_mail.gmail.com...
> Hmmm... I don't understand. What do you mean by "static lib linking
> Boost.Test statically" ?
>
> To my knowledge, the linker does attempt to resolve symbols referenced
> BY static libraries, it only does so for dlls and executables. It
> can, however, strip from the static library bits of code which are
> local to a translation unit and are not referenced from the outside
> (e.g. the auto test cases).
>
> It's this stripping I would like to circumvent, so I need to somehow
> reference the BOOST_AUTO_TEST_CASE from outside the translation unit,
> or use some other trick. I was wondering if you knew how to do that.

Hmm. You probably right. Anyway: try to use dynamic build. I've made sure
this configuration works.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net