Bill Allombert on Wed, 23 Apr 2003 19:46:59 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

gcc -fPIC on x86-linux


Hello PARI-dev,

I have a several questions about libpari.so on x86-linux-gcc:

1) Does libpari.so contains assembly code that access global
variables, if we except __asm__ directives ? 

2) Does mixing PIC code and non PIC code in a shared library is supposed to
work on x86 ?

3) It seems that -fPIC make gp-dyn faster and gp-sta faster.
Can you confirm it ?

  From my understanding, it should be yes-no-no, but the tests behave
rather like no-yes-yes...

Cheers,
Bill.