Patch for building Emacs on x32

9 views
Skip to first unread message

Daniel Schepler

unread,
Jul 3, 2012, 12:12:41 PM7/3/12
to x32...@googlegroups.com
Here's a patch with which I was able to build Emacs 23.4 on x32 under Debian.  (I chose to make EMACS_INT 32-bit in the x32 spirit of reducing memory / cache usage.)  Since I don't have access to add it to the X32 Patches page afaict, I'm posting it here.
--
Daniel Schepler

0018-Support-x32.patch

H.J. Lu

unread,
Jul 3, 2012, 1:10:07 PM7/3/12
to x32...@googlegroups.com
Checking _ILP32 is more reliable than _LP64 since _LP64 isn't specified
by the x86-64 psABI.

--
H.J.

Daniel Schepler

unread,
Jul 3, 2012, 2:51:51 PM7/3/12
to x32...@googlegroups.com
On Tuesday, July 3, 2012 10:10:07 AM UTC-7, H.J. wrote:
Checking _ILP32 is more reliable than _LP64 since _LP64 isn't specified
by the x86-64 psABI.

OK, thanks, I'll keep that in mind for the future.  (On the other hand, there was already a check for _LP64 in src/lisp.h...)
--
Daniel
 
Reply all
Reply to author
Forward
0 new messages