[Patches] [ python-Patches-1171735 ] Fix compile/link when using Darwin 8

SourceForge.net noreply at sourceforge.net
Tue Mar 29 01:25:50 CEST 2005


Patches item #1171735, was opened at 2005-03-28 04:31
Message generated for change (Comment added) made by etrepum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1171735&group_id=5470

Category: Macintosh
Group: Python 2.5
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Bob Ippolito (etrepum)
>Assigned to: Bob Ippolito (etrepum)
Summary: Fix compile/link when using Darwin 8

Initial Comment:
Darwin 8's headers are anal about POSIX compliance, and linking 
has changed (prebinding is now deprecated, and libcc_dynamic no 
longer exists).  This configure patch makes things right.

----------------------------------------------------------------------

>Comment By: Bob Ippolito (etrepum)
Date: 2005-03-28 18:25

Message:
Logged In: YES 
user_id=139309

I did have write access, I was confused by the fact that my python24 tag 
was checked out anon.  Committed.

----------------------------------------------------------------------

Comment By: Bob Ippolito (etrepum)
Date: 2005-03-28 14:24

Message:
Logged In: YES 
user_id=139309

Apparently I don't have write access to this part of CVS yet, so I can't 
commit this.  Here's the commit message I would've used:

patch [1171735] - Darwin 8's headers disable functionality when POSIX
is enabled.  This prevents the toolbox glue, all of Carbon, and various
other non-POSIX features from compiling.  The POSIX symbols are 
stillused by default, so turning off the #define doesn't hurt.

Additionally, linker flags have changed for Darwin 8, and are different
for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3.  

Approved by Anthony 

----------------------------------------------------------------------

Comment By: Bob Ippolito (etrepum)
Date: 2005-03-28 12:52

Message:
Logged In: YES 
user_id=139309

This is an updated version of the patch.  When using gcc4, libcc_dynamic 
does not exist.  Previous versions of gcc require it.  So the linker flags are 
dependent on the gcc version.

This fixes compilation on Darwin >= 8 with gcc < 4.0 (gcc 4 is the default)

----------------------------------------------------------------------

Comment By: Bob Ippolito (etrepum)
Date: 2005-03-28 05:12

Message:
Logged In: YES 
user_id=139309

got the OK from Anthony, going to apply and backport to 2.4-maint 
tomorrow after sufficient testing.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1171735&group_id=5470


More information about the Patches mailing list