Michael Schwartz <mykesx <at> gmail.com> writes: > The more interesting question is why he thinks he needs -fPIC for a static library. The error message indicates the elf file contains a 32-bit relocation and it needs to be a 64-bit one. >
I also would like to generate a static lib with pic. I will be linking the static lib when building a dynamic lib which is loaded via dlopen in a plug-in system thus the need for pic. Using a dynamic v8 lib means another level of dynamic libs loaded (2-deep) which makes it more difficult to find missing symbols, etc. since they don't resolve until runtime. -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
