fPIC options for Solaris 2.6
- From: Christoph Doerbeck <doerbeck dma isg mot com>
- To: des ops netcom net uk
- cc: gtk-list redhat com
- Subject: fPIC options for Solaris 2.6
- Date: Fri, 21 Aug 1998 16:13:51 -0400
> Find the file "sun4-solaris/5.00405/Config.pm" in Perl's lib
> directory and search for "cccdlflags". The change you need to make
> should be obvious :-)
Actually, I went and looked at the perl source and found this in the
Configure script:
<..snip..>
*) case "$osname/$ccflags" in
solaris/*-DDEBUGGING*) dflt='-fPIC' ;;
*) dflt='-fpic' ;;
esac ;;
<..snip..>
Would it be worth my time to recompile perl with DEBUGGING to achieve -fPIC?
Or am I still missing the picture? I'm thinking that one would want
that option on virtually everything that uses shared libraries.
If I adjusted the GTK Makefile to include -fPIC and everything seemed to
compile
ok, and the test.pl runs, can I quit while I'm ahead, or should I recompile
after fixing perl?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]