Hi Matthew,

[EMAIL PROTECTED] writes:

> I am building an app on AIX 5.2 and am linking to the Xerces-C_2_7 library.
> I have built the application with dynamic-linking to Xerces, but I'm
> wondering is there a way to link statically to Xerces?

On AIX you can link a shared library statically. With g++ the command
like would look along these lines:

g++ ... -Wl,-bstatic -lxerces-c -Wl,-bdynamic


hth,
-boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

Reply via email to