Well, I went to look at the cvs for emacs and I found the following link with the notable excerpt:
http://cvs.savannah.gnu.org/viewvc/emacs/emacs/etc/MACHINES?revision=1.24&view=markup ---BEGIN--- X86_64 GNU/Linux No special procedures should be needed to build a 64-bit Emacs. To build a 32-bit Emacs, first ensure that the necessary 32-bit system libraries and include files are installed. Then use: env CC="gcc -m32" ./configure --build=i386-linux-gnu \ --x-libraries=/usr/X11R6/lib (using the location of the 32-bit X libraries on your system). ---END--- It seems to me that this would just build a 32-bit version of emacs on a 64-bit system, which is probably fine. If this is the case then it could just be a slight modification of the spec file based on a platform case statement. If somebody else doesn't get to trying this out before me, then I'll likely test this out in the near future. On Thu, 2007-05-31 at 14:54 -0700, Doug Summers wrote: > David M. Fetter wrote: > > Is there any word on this problem? I just tried to build emacs again > > from current on the RHEL4 64-bit but it still wasn't recognizing the > > architecture. > > > > + ./configure --cache-file=./config.cache --prefix=/usr/local --with-x > > --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib64 > > --without-toolkit-scroll-bars --with-jpeg --with-png --with-tiff > > --with-gif --with-x-toolkit=athena > > loading cache ./config.cache > > checking host system type... x86_64-unknown-linux-gnu > > configure: error: Emacs hasn't been ported to `x86_64-unknown-linux-gnu' > > systems. > > Check `etc/MACHINES' for recognized configuration names. > > > > > > On Wed, 2007-03-21 at 11:19 -0700, David M. Fetter wrote: > >> It seems that this is still a problem, at least it is for us on RHEL4 > >> 64-bit. We have partially looked into this and found that it might be > >> able to be fixed with the newer release or maybe by doing some hacking > >> with shtool or whatnot to add in the new architectures to it's > >> detection. I would think that just MFC'ing the newer version into the > >> 2-Stable would be easiest though. Could this be done? > >> > >> On Tue, 2006-07-18 at 13:33 -0700, Doug Summers wrote: > >>> Bill Campbell wrote: > >>>> On Tue, Jul 18, 2006, Ralf S. Engelschall wrote: > >>>>> On Tue, Jul 18, 2006, Doug Summers wrote: > >>>>> > >>>>>> I can't build emacs from any version available. It keeps complaining > >>>>>> about the host type not being supported. I noticed that the code is > >>>>>> fairly old - is there a newer version available? > >>>>> Which particular Emacs version on which AMD64-based OS have you tried? > >>>> I just tried this on SuSE Linux Enterprise 9 with an Athlon 64, > >>>> building emacs-21.4a-2.5.0.src.rpm. > >>>> > >>>> The problem appears that the configure script at line 1643 recognizes > >>>> amd64*-*-*, and at line 1635 recognizes ia64*-*-* while the host system > >>>> type comes up with x86_64-unknown-linux-gnu. > >>>> > >>>> It appears that some hacking is necessary on the configure file > >>>> to get the right combination. > >>>> > >>>> I'm up to my a$$ in alligators now so don't have time to hack on > >>>> this (and I'm a vi bigot not emacs :-). > >>>> > >>>> Bill > >>>> -- > >>>> INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC > >>>> URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > >>>> FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) > >>>> 236-1676 > >>>> > >>>> The Constitution is a written instrument. As such, its meaning > >>>> does not alter. That which it meant when it was adopted, it > >>>> means now. > >>>> -- SOUTH CAROLINA v. US, 199 U.S. 437, 448 (1905) > >>>> ______________________________________________________________________ > >>>> The OpenPKG Project www.openpkg.org > >>>> User Communication List openpkg-users@openpkg.org > >>> Supposedly the more recent CVS versions of Emacs fix this problem, but I > >>> haven't tested it yet. > >>> > >>> Ralph - I'll give this a try later on tonight and let you know if it > >>> works and what version. > >>> > >>> Doug > >>> ______________________________________________________________________ > If I can get the source RPM that RedHat uses I can look at the .spec and > see how they define 64-bit machines. > ______________________________________________________________________ > OpenPKG http://openpkg.org > User Communication List openpkg-users@openpkg.org > -- David M. Fetter - UNIX Systems Administrator Portland State University - www.oit.pdx.edu
signature.asc
Description: This is a digitally signed message part