You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2008/11/18 22:27:45 UTC
DO NOT REPLY [Bug 46233] New: APR does not compile universal
binaries on Mac OS X 10.5
https://issues.apache.org/bugzilla/show_bug.cgi?id=46233
Summary: APR does not compile universal binaries on Mac OS X 10.5
Product: APR
Version: 1.3.3
Platform: Macintosh
OS/Version: other
Status: NEW
Severity: major
Priority: P2
Component: APR
AssignedTo: bugs@apr.apache.org
ReportedBy: 10.50@free.fr
The APR configure phase does not handle correctly the universal compilation
feature present on Mac OS X 10.5 (Leopard) which allow for simultaneous build
of 32 and 64bit binaries on both Intel and PPC environement.
Specificaly in include/apr.h:
1. Typedefs of apr_[u]int*_t should be set to the respective [u]int*_t (from
<sys/types.h>) and not be standard C types;
2. The APR_SIZEOF_VOIDP is set to 4, irrespectively of the arch. This should be
replaced by something like (for gcc):
#if defined(__LP32__)
#define APR_SIZEOF_VOIDP 4
#elif defined (__LP64__)
#define APR_SIZEOF_VOIDP 8
#endif
Patching the include/apr.h with these two changes allows the build to finish
correctly, but it would be nice to get rid of them, if possible.
Thanks!
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
DO NOT REPLY [Bug 46233] APR does not compile universal binaries on
Mac OS X 10.5
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46233
Toby Peterson <to...@apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |toby@apple.com
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org