[PolyORB-users] Re: pragma Linker_Options

Simon Wright simon at pushface.org
Sat Feb 5 20:01:25 CET 2005


> Date: Mon, 17 Jan 2005 21:00:14 GMT
> From: Simon Wright <simon at pushface.org>
>      Linker_Switches :=
>        (
> 	"-L/opt/local/lib",
> 	"-lpolyorb-corba",
> 	"-lpolyorb-corba-messaging",
> 	"-lpolyorb-corba-portableinterceptor",
> 	"-lpolyorb-corba-rtcorba",
> 	"-lpolyorb-corba-cos-event",
> 	"-lpolyorb-corba-cos-naming",
> 	"-lpolyorb-corba-cos-time",
> 	"-lpolyorb-corba-cos-naming-impl",
> 	"-lpolyorb-giop",
> 	"-lpolyorb-giop-diop",
> 	"-lpolyorb-giop-iiop",
> 	"-lpolyorb-giop-miop"
>        );

and (if you remove all the pragma Linker_Options) -lpolyorb.

I suspect that -lpolyorb has to be last, at any rate if doing a static
(debug) link? Does using Linker_Options get this right? (perhaps I'm
remembering old ld behaviour ...)


More information about the PolyORB-users mailing list