Re: Linking a static library with -fPIC for flex
On 9/5/06, Manoj Srivastava <firstname.lastname@example.org> wrote:
I was initially going to just provide libfl.a with position
independent code, which would have prevented the FTBS breakage for
scanner containing shared libraries, at the expense of a register
lost for binaries that were otherwise statically linked, and perhaps
slower execution speeds.
There's no performance critical code in libfl. The main function is
hardly ever used, and yywrap() is only called at an of input.
Have a nice day,
Martijn van Oosterhout <email@example.com> http://svana.org/kleptog/