[omniORB] Static build with GCC 3.4
Duncan Grisby
duncan at grisby.org
Thu Nov 2 11:03:49 GMT 2006
On Sunday 22 October, Vladimir Panov wrote:
> b) Do something on the export symbol, like ++. This way, the compiler
> will still ignore the unused global static variable but because code
> must be generated for the ++ operator it won't discard the
> reference. The downside is that the code will actually be executed. I
> have attached a patch against omniORB 4.0.7
> (omniORB-4.0.7-linkHacks.patch). If it is applied then
> -fno-unit-at-a-time is not required and OMNI_CHECK_NO_UNIT_AT_A_TIME
> can be removed from configure.ac.
Thanks. I've applied your patch to the 4.1 tree, and removed the
configure checks for -fno-unit-at-a-time.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list