From: Glenn Morris <rgm@gnu.org>
To: "Glasser, Nathan" <nglasser@cantata.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Configure/compile failure on Solaris 10 Sparc Ultra 25
Date: Sun, 15 Apr 2007 19:55:49 -0400 [thread overview]
Message-ID: <4ops65ry4a.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <EE8D912486CB3B40978DC42135F2BF8C01716180@ma02exchtmp01.Cantata.com> (Nathan Glasser's message of "Fri, 13 Apr 2007 17:00:14 -0400")
"Glasser, Nathan" wrote:
> I tried to build Emacs-21.4a (emacs-version says 21.4.1) on Solaris 10
[...]
> The compiler is "Sun WorkShop 6 update 2 C 5.3 2001/05/15".
[...]
> When I run configure, configure runs cpp to test for various header
> files being present, and other things. However, these often got
> errors, because the symbol "__sparc", which would normally be
> defined if cc was run, was not defined, and lots of system header
> files depended on it.
[...]
> echo '#define __sparc 1' > confdefs.h
>
> A better fix might be to use "cc -E" rather than cpp; I tried this
>and the symbol is defined using the former, but not the latter. I
>can't tell you why this used to work in the past, but in my current
>setup it does not.
I'm a bit confused. Are you saying it does _not_ work if you use "cc
-E" as the preprocessor? Does it work if you use "cc -E -Xs", making
sure the "cc" is the same one as your compiler?
We hope to release Emacs 22 soon, and it would be helpful if you
could see if that works for you. The latest pretest version at present
is 22.0.97, which you can get from alpha.gnu.org/gnu/emacs/pretest.
I just succesfully built this version on Solaris 10. The closest
compiler I could find to yours was: "Sun WorkShop 6 update 1 C 5.2
2000/09/11". I configured using:
env CC=/path/to/cc CPP="/path/to/cc -E -Xs" ./configure
If it does not work, please give more detail as to exactly what you
tried and what the result was.
next prev parent reply other threads:[~2007-04-15 23:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-13 21:00 Configure/compile failure on Solaris 10 Sparc Ultra 25 Glasser, Nathan
2007-04-15 23:55 ` Glenn Morris [this message]
2007-04-17 18:30 ` Glasser, Nathan
2007-04-17 19:01 ` Glenn Morris
2007-04-18 14:56 ` Richard Stallman
2007-04-18 16:04 ` Glasser, Nathan
2007-04-18 17:14 ` Glenn Morris
2007-04-22 0:47 ` Richard Stallman
2007-04-22 1:30 ` Glenn Morris
2007-04-18 17:12 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ops65ry4a.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=nglasser@cantata.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.