Re: Compiling emacs on solaris10



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'

.



Relevant Pages

  • Re: off-topic: open challenge to Christian Lynbeck
    ... Pascal> No. GNU Emacs has a lisp bytecode interpreter written in C, ... You can use either their own C-like extension language interpreter, ...
    (comp.lang.lisp)
  • Re: Basic VI
    ... I have been living on a work environment of mostly ... Though I probably could install Emacs ... I continue to use Vi on the UNIX systems at work, WinVi on ... and mostly GNU Emacs (with some NEdit ...
    (comp.editors)
  • Re: irc & usenet clients for xfce
    ... and IRC. ... Gnus, running inside a separate Emacs instance, is a very good email & ... The ERC module is a quite ... If you have used GNU Emacs and you feel comfortable working with it, ...
    (freebsd-questions)
  • Re: Good native Linux text editors ???
    ... Linux is an operating system kernel. ... Emacs is the grandfather of Linux ... that point of view Emacs and XEmacs (which is a derivative of GNU Emacs) ... TECO ran on DEC PDP 11s and on the 10. ...
    (comp.os.linux.development.apps)
  • Re: How to search through all the files in all the levels of your directories.
    ... > Fatal error.Segmentation fault ... Not sure how you exec from emacs, but in vi, if you don't care about ... ...to find "FoO BaR" anywhere in your homedir. ... efficiently specifying filetypes, ...
    (alt.os.linux)

Loading