[omniORB] AIX issues: gcc 3.3

Thomas Lockhart lockhart at fourpalms.org
Tue Jul 8 15:42:20 BST 2003


> So, how do I make sure omni links things right using gcc on AIX?
> E.g., where would I add gcc's libstdc++, and/or whether gcc can link
> libraries instead of makeC++SharedLib_r?  When I hack the examples,
> I tweak the installed $(TOP)/config/config.mk and $(TOP)/mk..., 
> which, BTW, are not copied to $(PREFIX) for whatever reason -- do I
> have to tweak them in omni's source prior to the build?  (I use a
> separate build directory.)

I haven't looked at the omniORB build system in a little while, but 
generally autoconf expects to look for and use a "CXX" environment 
variable to find the compiler. Not sure about the linker, but for sure 
you want to use g++ rather than ld for the link step because ld does not 
know about some of those hidden libraries used to support the C++ 
infrastructure while g++ when used for linking does.

I wasn't following the thread earlier; have you tried using autoconf to 
configure or are you doing this manually?

hth

                       - Tom




More information about the omniORB-list mailing list