Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is there an emacs 23.3 package that installs in /opt/sfw/bin?

119 views
Skip to first unread message

Bartholomew

unread,
Nov 13, 2011, 4:40:23 PM11/13/11
to
I currently run emacs 21.3 on Solaris 10 (10/08 s10s_u6wos_07b SPARC).
The one from sunfreeware installs in /usr/local/bin and requires extra
libraries.

B.

Michael

unread,
Nov 13, 2011, 5:08:10 PM11/13/11
to
Hi,
Yes.

On the other hand if you only need emacs download the emacs tar file
from gnu site(google for emacs) and unpack it somewhere the compile
yourself. very easy!!

$ ./configure --prefix=/path_of_your_choice

$ gmake

$ gmake install


/michael

Fritz Wuehler

unread,
Nov 15, 2011, 5:57:40 AM11/15/11
to
I prefer to build everything possible with Studio since I hate gcc and
Studio does a better job on SPARC than gcc anyway. Emacs builds fine except
for LEIM. I have 23.3 running on SPARC boxes from update 8 and on.

1. Set your path to the Studio binaries and to /usr/ccs/bin
2. export CC="cc -m64 -fast" for Intel or "cc -m32 -fast" for UltraSPARC
3. ./configure --prefix=/like/he/said --mandir=/your/man/path
4. make
5. edit Makefile and delete install-leim from the install target
6. make install
7. check permissions, unfortunately the script is broken and leaves the user
and group you compiled with on some of the library files (do chmod -R 0:0
when you find the affected directory tree

Michael

unread,
Nov 15, 2011, 4:29:39 PM11/15/11
to
Hi,
SunStudio may compile more efficient code than gcc, but for gnu code gcc
is easier to use IMHO.

/michael


Ian Collins

unread,
Nov 15, 2011, 4:33:05 PM11/15/11
to
On 11/16/11 10:29 AM, Michael wrote:

> SunStudio may compile more efficient code than gcc, but for gnu code gcc
> is easier to use IMHO.

That's true because GNU C != ISO C.

:)

--
Ian Collins

George

unread,
Nov 26, 2011, 2:07:17 PM11/26/11
to
On 15/11/11 5:57 a, Fritz Wuehler wrote:
> Michael<michael_...@yahoo.com> wrote:
>
>> Hi,
>>
>> On 11/13/11 10:40 PM, Bartholomew wrote:
>>> I currently run emacs 21.3 on Solaris 10 (10/08 s10s_u6wos_07b SPARC).
>>> The one from sunfreeware installs in /usr/local/bin and requires extra
>>> libraries.
>>>
>>> B.
>>
>> Yes.
>>
>> On the other hand if you only need emacs download the emacs tar file
>> from gnu site(google for emacs) and unpack it somewhere the compile
>> yourself. very easy!!
>>
>> $ ./configure --prefix=/path_of_your_choice
>>
>> $ gmake
>>
>> $ gmake install
>
> I prefer to build everything possible with Studio since I hate gcc and
> Studio does a better job on SPARC than gcc anyway. Emacs builds fine except
> for LEIM. I have 23.3 running on SPARC boxes from update 8 and on.
>
> 1. Set your path to the Studio binaries and to /usr/ccs/bin
> 2. export CC="cc -m64 -fast" for Intel or "cc -m32 -fast" for UltraSPARC

Is there a reason for not choosing "-m64" on UltraSPARC?

George

Fritz Wuehler

unread,
Nov 27, 2011, 7:29:24 AM11/27/11
to
Yes, Sun/Oracle doc and blogs recommend not using -m64 for U/S except in
very specific cases. They explain it very well. AMD64 gives you more than
twice the usable registers over x86 so the extra length of operands isn't that much
of a penalty. SPARC already has plenty of registers so all you get with -M64
is a bigger program footprint that seldom gives you any performance
advantage.


George

unread,
Dec 10, 2011, 9:02:27 PM12/10/11
to
On 27/11/11 7:29 a, Fritz Wuehler wrote:
> George<geo...@invalid.invalid> wrote:
[...]
>> Is there a reason for not choosing "-m64" on UltraSPARC?
>
> Yes, Sun/Oracle doc and blogs recommend not using -m64 for U/S except in
> very specific cases. They explain it very well. AMD64 gives you more than
> twice the usable registers over x86 so the extra length of operands isn't that much
> of a penalty. SPARC already has plenty of registers so all you get with -M64
> is a bigger program footprint that seldom gives you any performance
> advantage.
>
Thank you for the note. If anyone is interested, here is the blog
written by Daryl Groves, a
Sun/Oracle compiler writer:

http://www.oracle.com/technetwork/articles/servers-storage-dev/best-options-344699.html
0 new messages