Re: Using lex in a shared library

2010-07-03 Thread Kostik Belousov
On Sat, Jul 03, 2010 at 12:08:11PM +0200, Joerg Sonnenberger wrote: > On Fri, Jul 02, 2010 at 04:52:45PM -0700, Xin LI wrote: > > I think that amd64 requires a static library be compiled with -fPIC if > > it's being linked into shared object. This should not be done for > > normal static libraries

Re: Using lex in a shared library

2010-07-03 Thread Joerg Sonnenberger
On Fri, Jul 02, 2010 at 04:52:45PM -0700, Xin LI wrote: > I think that amd64 requires a static library be compiled with -fPIC if > it's being linked into shared object. This should not be done for > normal static libraries, though, as this could give some performance > penalty when it's not needed