Files
PolyORB/examples/static
Thomas Quinot 99f521407c Switch to GPLv3 for KC20-016
Subversion-branch: /trunk/polyorb
Subversion-revision: 183131
2012-01-04 22:41:08 +00:00
..

README for the static configuration examples directory
------------------------------------------------------

$Id$

This directory contains a sample static configuration file named
'po_static_conf.ads'. To test this configuration method, just
copy this file to another PolyORB example, for example the CORBA
echo test:

   $ cp po_static_conf.ads ../corba/echo/

Then, go to that directory

   $ cd ../corba/echo/

and execute:

   $ idlac echo.idl
   $ gnatmake -c po_static_conf.ads `polyorb-config`
   $ gnatmake server `polyorb-config` -largs po_static_conf.o

You can then edit the file 'po_static_conf.ads' to modify some
PolyORB parameter of the executable. After that you must compile again
that configuration file:

   $ gnatmake -c po_static_conf.ads `polyorb-config`

and then just relink the application without recompiling any application
sources:

   $ gnatmake -l server `polyorb-config` -largs po_static_conf.o

Note that you must also specify the option -b to rebind the application
because the file 'b~server.ali' is required for relinking, but it is
usually removed by gnatmake after the compilation.