Re: Compiling emacs on solaris10
- From: Rainer Beushausen <surfnasi@xxxxxx>
- Date: Sun, 03 Dec 2006 20:30:05 +0100
Giorgos Keramidas wrote:
On Sun, 03 Dec 2006 13:32:09 +0100, Rainer Beushausen <surfnasi@xxxxxx> wrote:
FiLH wrote:
I'm trying to compile emacs21.4 on a solaris10 system. When I
use gcc 3.4.6 the build fails because emacs coredumps on exit
(so it can precompile the .el files).
I have installed sun studio11 and when trying to compile with CC=cc
it seems that configure does not find unistd and than all the system
calls are undefined.
Same here. I successfully built emacs 21.4.1 using gcc 2.95.3 from the
3/05 companion cd. configure was:
configure --prefix=/usr/local/emacs --with-x-toolkit=motif --with-x
If you get a chance to try gcc-4 can you post the configure
command, the generated `config.log' file, and any errors you see?
I haven't tried gcc-4 on Solaris 10, since Sun Studio was available,
and it worked on the sparc/x86 systems I had, so there may be some
bug which is triggered by gcc-4 or some gcc-4 bug that is triggered
by Emacs.
I did a compile with gcc-4.1.1. Basically the same result. Executable
builds but crashes regularly with seg-fault at exit. Saw a lot of
warnings about type mismatches. Seems to me, the code isn't suited
very well for Solaris and gcc > 2. Strange enough, emacs builds and runs
flawlessly on linux (gcc 3.4.6).
A first attempt to compile with Studio-11 has crashed because configure
failed to recognize existence of headers like unistd.h and friends.
I then replaced src/config.h with that one created while configuring
for gcc-4. This time I was able to compile with Studio 11. I had to edit
src/Makefile to provide some missing libs for linking. No core dump.
From this: Someone should hack the configure script to get it recognizeSun Studio properly.
Rainer
.
- Follow-Ups:
- Re: Compiling emacs on solaris10
- From: Giorgos Keramidas
- Re: Compiling emacs on solaris10
- From: Miroslav Zubcic
- 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: Giorgos Keramidas
- Compiling emacs on solaris10
- Prev by Date: Re: Solaris "format" utility and grown defects
- Next by Date: Re: Doubt performance Solaris 10 Vs Linux RH
- Previous by thread: Re: Compiling emacs on solaris10
- Next by thread: Re: Compiling emacs on solaris10
- Index(es):
Relevant Pages
|