Adam Thomason <[EMAIL PROTECTED]> wrote: > libnci.so fails to build on amd64/Linux because nci_test.o isn't > compiled with -fPIC, which is a requirement of assembling a shared > library on that platform.
It's linked with -fPIC [1], but that might be wrong of course. If we've to compile with -fPIC, we have to build all $(O) files (and not only nci_test.o) twice: once for the static parrot and once for a shared libparrot.so. > ... Is a CC_SHARED > required after all? s/CC_SHARED/CC_SHARE_FLAGS/ for consistency or CC_LOAD_FLAGS?. Seems so. -fPIC is listed under Code Generation in "info gcc". > Adam leo [1] i386/linux: cc -shared -L/usr/local/lib -fPIC -L/usr/local/lib -g \ -o runtime/parrot/dynext/libnci.so src/nci_test.o