Re: [boost] Boost.Test: automatic test cases inside a static library

10 Jul
2006
10 Jul
'06
9:58 p.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Gennadiy Rozental Sent: Monday, July 10, 2006 2:47 PM To: boost@lists.boost.org Subject: Re: [boost] Boost.Test: automatic test cases inside a static library
Hm, I've never heard of that option. I'll look into it.
Any chance you could tell me what flags the GNU GCC compiler would do the trick? I can't find anything that resembles "avoid unused static files discard".
Looks like these may work:
-fkeep-static-consts -fno-toplevel-reorder -fno-unit-at-a-time (?)
On Linux, I believe there is also a linker flag -Wl,-whole-archive. There is also an equivalent on solaris but it escapes me...
6913
Age (days ago)
6913
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sohail Somani