[omniORB] compiling omniORB

Gary D. Duzan gdd0@gte.com
Fri, 20 Oct 2000 13:34:44 -0400


In Message <39F08014.EA1F9478@magellan.umontreal.ca> ,
   Stefan Seefeld <seefelds@MAGELLAN.UMontreal.CA> wrote:

=>I'm just recompiling omniORB, so I bring up a couple of 
=>questions which never got answered:
=>
=>2) is it really necessary to compile all libraries twice (with
=>   and without -fpic) ? I always used to build static libraries
=>   from objects compiled with -fpic, so a single compile run would
=>   suffice.

   Well, on some platforms you might get better performance from
non-pic code, though it would make sense to run some tests to see
what the difference is. On the other hand, the AIX ABI convention
says that _all_ code is compiled pic, so it makes no difference at
all. There isn't even a difference in the flags when compiling the
static and dynamic versions as it is, so simply making a copy of or
using the original would be much preferred.

					Gary Duzan
					Verizon Laboratories