Re: Compiling emacs on solaris10
- From: Giorgos Keramidas <keramida@xxxxxxxxxxxxxxx>
- Date: Fri, 08 Dec 2006 22:42:51 +0200
On Fri, 08 Dec 2006 13:51:25 +0900, NAKAJI Hiroyuki <nakaji@xxxxxxxxxxxxxx> wrote:
Does this patch help you?
http://article.gmane.org/gmane.emacs.pretest.bugs/15578
I had built cvs emacs on x86_64-sun-solaris with both gcc-3.4.3 and Sun
Studio 11.
$ emacs --version
GNU Emacs 22.0.91.1
Copyright (C) 2006 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
$ LANG=C file /usr/local/bin/emacs
/usr/local/bin/emacs: ELF 64-bit LSB executable AMD64 Version 1 \
[SSE2 SSE FXSR FPU], dynamically linked, not stripped
Thanks,
I saw that cyd at gnu dot org committed this into the CVS tree of Emacs,
but still there are a few nits when trying to build on Solaris 10 (amd64)
with the following setup here:
$ export CC='/opt/SUNWspro/bin/cc'
$ export CFLAGS='-mt -xO5 -xarch=amd64'
The build problem seems to be in the way 'temacs' is linked:
% /opt/SUNWspro/bin/cc -L/usr/ccs/lib \
% `{ set x USE_MOTIF; test "$2" = "USE_MOTIF"; } || echo ' -R/usr/dt/lib'` \
% -o temacs \
% dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o \
% charset.o coding.o category.o ccl.o cm.o term.o xfaces.o \
% emacs.o keyboard.o macros.o keymap.o sysdep.o \
% buffer.o filelock.o insdel.o marker.o \
% minibuf.o fileio.o dired.o filemode.o \
% cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \
% alloc.o data.o doc.o editfns.o callint.o \
% eval.o floatfns.o fns.o print.o lread.o \
% abbrev.o syntax.o unexelf.o bytecode.o \
% process.o callproc.o \
% region-cache.o sound.o atimer.o \
% doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \
% terminfo.o lastfile.o gmalloc.o ralloc.o vm-limit.o mktime.o \
% -lsocket -lnsl -lkstat -lkvm -lelf -lcurses -lkstat -lm
% ld: fatal: file dispnew.o: wrong ELF class: ELFCLASS64
% ld: fatal: File processing errors. No output written to temacs
% *** Error code 1
% make: Fatal error: Command failed for target `temacs'
% Current working directory /home/keramida/tmp/emacs-src/src
% *** Error code 1
% make: Fatal error: Command failed for target `bootstrap-build'
% Current working directory /home/keramida/tmp/emacs-src
% *** Error code 1
% make: Fatal error: Command failed for target `bootstrap'
.
- Follow-Ups:
- Re: Compiling emacs on solaris10
- From: Paul Floyd
- Re: Compiling emacs on solaris10
- References:
- Compiling emacs on solaris10
- From: FiLH
- Re: Compiling emacs on solaris10
- From: Rainer Beushausen
- Re: Compiling emacs on solaris10
- From: FiLH
- Re: Compiling emacs on solaris10
- From: Oliver Schonefeld
- Re: Compiling emacs on solaris10
- From: FiLH
- Re: Compiling emacs on solaris10
- From: NAKAJI Hiroyuki
- Compiling emacs on solaris10
- Prev by Date: Re: Controlling CPU utilization of a process
- Next by Date: Re: openssh compile problem. one machine works, not the other.
- Previous by thread: Re: Compiling emacs on solaris10
- Next by thread: Re: Compiling emacs on solaris10
- Index(es):
Relevant Pages
|
Loading