[omniORB] Compiling omniORB program

cyberdeth@intekom.com cyberdeth@intekom.com
Tue, 09 Oct 2001 08:39:17 +0200 (SAST)


Yep.

Thanks.


On 09-Oct-2001 Attila Pletyak wrote:
> Well, we are working under Linux. Our Makefile looks similar to this, I 
> hope I won't leave out anything:
> 
> DEFINES=__linux__ __x86__ __OSVERSION__=2 __OMNIORB3__
> 
> SKELETONS=ServantSK.hh ServantSK.cc
> 
> LIBS=omniORB3 omniGK_stub omnithread #omniDynamic3 if you use dynamic things
> 
> all: $(SKELETONS) Servant
> 
> Servant: ServantSK.o ServantImpl.o ServantMain.o
>                 @echo Creating Servant
>                 @g++ -o $@ $^ $(addprefix -l, $(LIBS))
> 
> %SK.cc %SK.hh: %SK.idl
>                 @echo Creating skeletons
>                 @omniidl -bcxx -Wbh=SK.hh $(addprefix -D,$(DEFINES)) $<
> 
> %.o: %.cc
>                 @echo Compiling $<
>                 @g++ -c $< $(addprefix -D, $(DEFINES))
> 
> 
> Is this enough for you to start?
> 
> Sincerely,
> 
> Attila Pletyak
> 
> cyberdeth@intekom.com wrote:
> 
>>Hi.
>>
>>We have been using ORBacus for our CORBA project for like 3 years now, but
>>now their licensing fees are rediculous. Anyways, we are looking at porting
>>all
>>our applications, which is a lot, to omniORB. Now I want to know what is the
>>best method of compiling an omniORB program. Can you please give an example.
>>Is
>>the making structure of the examples in the omniORB examples directory the
>>only
>>way one could compile the program, or can you just create one makefile with
>>all
>>the parameters in and stuff. again examples please. Also is it possible for
>>someone to create a good tutorial, like from creating the IDL to compiling
>>the program with all the flags, libraries used, etc.....
>>
>>We are using Linux/FreeBSD/Windows
>>
>>Please.
>>
>>Thanks.
>>
>>----------------------------------
>> Name: Francois Hensley
>> E-Mail: cyberdeth@intekom.com
>> Date: 05-Oct-2001 Time: 09:39:59
>> Tel: (w) (011) 266-7800
>>----------------------------------
>>
>>

----------------------------------
 Name: Francois Hensley
 E-Mail: cyberdeth@intekom.com
 Date: 09-Oct-2001 Time: 08:38:49
 Tel: (w) (011) 266-7800
----------------------------------