[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system
From: |
Stefan Monnier |
Subject: |
Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system |
Date: |
Wed, 10 Jan 2007 18:28:13 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
>> I for one have compiled Emacs in 32bit-mode on an amd64 machine in two
>> difference circumstances:
> How about sharing the experience: how did you configure and build to
> get a 32bit binaries?
On my work machine it was a while back and I can't remember doing much: it
seemed to just work. But I probably had to muck around with something,
I just can't remember it, probably because it was fairly obvious.
On my home machine I reported my problems here at the time and basically
fixed them for this one time by adding
#ifndef _LP64
/* It's actually running in x86 compatibility mode. */
#include "m/intel386.h"
#else
to src/m/amdx86-64.h and a few other quick&dirt hacks.
Luckily my system is pure 32bit (other than the kernel) so I didn't have to
deal with issues such as /usr/lib64/crtn.o.
Stefan
PS: IMHO we shouldn't need to specify --build=i386-linux-gnu. Instead,
passing CC="gcc -m32" should be sufficient.
- add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Glenn Morris, 2007/01/08
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Andreas Schwab, 2007/01/09
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Richard Stallman, 2007/01/09
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Andreas Schwab, 2007/01/09
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Glenn Morris, 2007/01/09
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Glenn Morris, 2007/01/09
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Stefan Monnier, 2007/01/10
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Glenn Morris, 2007/01/10
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Eli Zaretskii, 2007/01/10
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system,
Stefan Monnier <=
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Glenn Morris, 2007/01/15
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Andreas Schwab, 2007/01/16
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Stefan Monnier, 2007/01/16
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Richard Stallman, 2007/01/10
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Glenn Morris, 2007/01/10
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Richard Stallman, 2007/01/14
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Giorgos Keramidas, 2007/01/15
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Andreas Schwab, 2007/01/10
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Glenn Morris, 2007/01/10
- Re: add etc/PROBLEMS entry for building 32-bit exe on 64-bit system, Andreas Schwab, 2007/01/10