[omniORB] omniORB without DSI/DII
Alex Tingle
alex.tingle at bronermetals.com
Wed Jul 20 12:20:36 BST 2005
> i'm striving for ca. 3 MB...
Perhaps you could contrive to compile all of the services you need into
the same (statically linked) executable. That way the linker could
discard anything you don't need.
> text data bss dec hex filename
> 96210 344 1355 97909 17e75 omniNames
> 1336447 233192 6028 1575667 180af3 libomniORB4.so.0.6
> 22980 2824 32 25836 64ec libomnithread.so.3.1
> 1972570 423719 2888 2399177 249bc9 libomniDynamic4.so.0.6
> 335470 29808 1540 366818 598e2 libCOSDynamic4.so.0.6
> 1642175 348412 1304 1991891 1e64d3 libCOS4.so.0.6
> 77067 32224 1040 110331 1aefb libomniCodeSets4.so.0.6
> 350680 29021 65796 445497 6cc39 _omniidlmodule.so.1.0
Is all this stripped? You don't need the libCOS... stuff.
_omniidlmodule is only required for building applications, not for
using them.
> MinimumCORBA basically strips away DII, DSI and DynAny. Regarding
> the Event-Service in this environment: Does Any really require
> DynAny also?
You are right. The Event Service doesn't need DynAny (nor does
omniEvents).
*omniEvents* uses the DII - that's an implementation detail rather than
a requirement of the spec.
-Ale Tingle
--
Dammit Jim, I'm a programmer... not a mind reader!
On 20 Jul 2005, at 08:25, Peter Schaefer-Hutter wrote:
> Am 20.07.2005 00:05, Alex Tingle wrote:
>
>> omniEvents fundamentally requires DII. The EventService interface
>> uses the
>> Any type, so you'll need the other dynamic stuff too.
>>
>> Just how small do you need to get it?
>
> Well, as small as possible, of course. That is what i get now:
>
> text data bss dec hex filename
> 96210 344 1355 97909 17e75 omniNames
> 1336447 233192 6028 1575667 180af3 libomniORB4.so.0.6
> 22980 2824 32 25836 64ec libomnithread.so.3.1
> 1972570 423719 2888 2399177 249bc9 libomniDynamic4.so.0.6
> 335470 29808 1540 366818 598e2 libCOSDynamic4.so.0.6
> 1642175 348412 1304 1991891 1e64d3 libCOS4.so.0.6
> 77067 32224 1040 110331 1aefb libomniCodeSets4.so.0.6
> 350680 29021 65796 445497 6cc39 _omniidlmodule.so.1.0
> ================================================================
> 5833599 1099544 79983 7013126
>
> That is cross-compiled for PowerPC and -O2. For my embedded target
> i want to get much lower than that. I just have interfaces that are
> known at compile-time; so - in my understanding - no need for DII.
>
> Basically i want to achive a minimum CORBA environment
> (http://www.omg.org/cgi-bin/doc?formal/02-08-01), however with
> Event- and Naming-Service.
>
> MinimumCORBA basically strips away DII, DSI and DynAny. Regarding
> the Event-Service in this environment: Does Any really require
> DynAny also?
>
> omni3, compiled for x86 with -Os is
>
> 80666 1100 1380 83146 144ca omniNames
> 704437 29416 1960 735813 b3a45 libomniORB3.so.0.5
> 14585 548 28 15161 3b39 libomnithread.so.2.1
> 1448234 182932 1724 1632890 18ea7a libomniDynamic3.so.0.5
> 360949 5832 1296 368077 59dcd libCOSDynamic3.so.0.5
> 2102380 287784 1268 2391432 247d88 libCOS3.so.0.5
> 288369 8916 65812 363097 58a59 _omniidlmodule.so.0.1
> ================================================================
> 4999620 516528 73468 5589616
>
> Which is better; however i'm striving for ca. 3 MB...
>
> Best regards,
>
> Peter
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
More information about the omniORB-list
mailing list