ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
Re: Building a shared libperl should be the default for 5.12
by H.Merijn Brand other posts by this author
Nov 4 2009 5:30AM messages near this date
Re: Building a shared libperl should be the default for 5.12 | [PATCH] Make my_exit behave the same as the Perl exit. And add tests for it
On Wed, 4 Nov 2009 13:11:29 +0000, Nicholas Clark <nick@[...].org>  wrote:

>  On Wed, Nov 04, 2009 at 01:01:32PM +0000, Tim Bunce wrote:
>  
>  > It seems to me that -Duseshrplib conflates two things that should be
>  > separate: a) the building and installing of a shared libperl, and
>  > b) linking the perl executable against it instead of the libperl.a.
>  
>  Should we therefore compile all object code with -fPIC, with the same
>  object files linked statically to the perl executable, and used in the
>  shared library?
>  
>  Or should we compile everything twice, once with -fPIC and once without,
>  using the -fPIC code for the shared library, and the normal code for the
>  executable?
>  
>  The distinction between -fPIC and not matters on at least x86_64
>  
>  (It used to matter on ARM, but they found a way to deal with relocations,
>  such that build systems that assumed that all world is a VAX 2.0 would
>  still work)

/me is in favour of compiling everything with -fPIC (or +Z on HP-UX cc)
where possible

-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/
Thread:
Tim Bunce
Nicholas Clark
Tony Cook
Nicholas Clark
Tony Cook
Tim Bunce
Andy Dougherty
Tim Bunce
Andy Dougherty
Nicholas Clark
Andy Dougherty
H.Merijn Brand
H.Merijn Brand
Craig A. Berry
H.Merijn Brand
Tim Bunce
H.Merijn Brand
H.Merijn Brand
H.Merijn Brand

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved