So when I say

    $ ./configure --disable-shared
    $ make V=1

-fPIC and -DPIC are used on x64 but not on ARM and PowerPC systems. To make 
curl use -fPIC/-DPIC on PPC and ARM as well, I need to do this instead:

    $ ./configure --disable-shared --with-pic
    $ make V=1

Is there any reason for this inconsistency between x64 and PPC/ARM? Why are 
-fPIC/-DPIC automatically enabled for x64 but not for PPC/ARM?

I need position-independent code because I want to statically link my shared 
object against libcurl.a.

-- 
Best regards,
 Andreas Falkenhahn                          mailto:andr...@falkenhahn.com

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to