[PolyORB-users] pragma Linker_Options

Martin Krischik krischik at users.sourceforge.net
Tue Jan 18 09:32:24 CET 2005


Am Montag, 17. Januar 2005 22:11 schrieb Jerome Hugues:
> Hi Simon,
>
> Simon Wright (simon at pushface.org):
> > These files still have this pragma,
> >
> >   src/dsa/polyorb-dsa_p.ads:   pragma Linker_Options ("-lpolyorb-dsa");
> >   src/polyorb.ads:   pragma Linker_Options ("-lpolyorb");
> >   src/corba/polyorb-corba_p.ads:   pragma Linker_Options
> > ("-lpolyorb-corba"); src/giop/polyorb-giop_p.ads:   pragma Linker_Options
> > ("-lpolyorb-giop"); src/moma/polyorb-moma_p.ads:   pragma Linker_Options
> > ("-lpolyorb-moma"); src/soap/polyorb-soap_p.ads:   pragma Linker_Options
> > ("-lpolyorb-soap");
> >
> > which isn't a complete set. And anyway, isn't Linker_Options
> > problematic with static links?
>
> It is problematic in many settings. They are to be removed as part of
> a patch that will restore shared libraries.
>
> >     SAMPLE FIX/WORKAROUND:
> > Use GPR files? for my build (corba, giop only), I've used
>
> How do you use this project file ? Is this as a replacement for
> polyorb-config ?

I use the same technique. I looked at the output of polyorb-config and created 
project files which do the same. - Only it is not that easy. - There seem to 
be suptle differences between command line options and project files.

Martin

-- 
Martin Krischik
mailto://krischik@users.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/polyorb-users/attachments/20050118/00284653/attachment.bin


More information about the PolyORB-users mailing list