[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
-fPIC CFLAGS question
I found that adding "-fPIC" to the CFLAGS in the Makefile while building
the imap-uw port allowed me to build the dynamic version of PHP+imap
support, whereas it would give me a ton of text segment relocation errors
while linking if I didn't have -fPIC.
I've only worked on x86 (where it works), but I think that some platforms
don't support dynamic stuff. I'm unsure whether this flag (which is
essentially for a dynamic PHP system) will blow up the imap-uw build.
Is there a problem with this? Is there a blessed way to do what I want
(have c-client.a be relocatable, essentially) that works for everyone?
--Mike