emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32bit system on 64bit kernel


From: Stefan Monnier
Subject: 32bit system on 64bit kernel
Date: Tue, 24 Oct 2006 23:40:08 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I've recently switched my kernel from i686 to amd64 without changing the
rest of my system (so all programs use the compatibility x86 mode).
This seems to work just fine overall, except that Emacs gets confused and
thinks my `long' are 64bit wide.
This apparently comes from the use of `uname' in `configure' which tells I'm
running an x86-64 machine (aka amd64) and thus includes m/amdx86-64.h which
says that `long' is 64bit.

The compilation then fails with tons of errors such as

   xdisp.c:1016: warning: left shift count >= width of type

I guess the same error might occur if I try to compile Emacs with "-m32" on
a fully amd64 system.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]