[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42675: Solaris 11.3 x86_64 support

From: Paul Eggert
Subject: bug#42675: Solaris 11.3 x86_64 support
Date: Wed, 5 Aug 2020 18:05:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

The Autotools docs say the triplet is
cpu-vendor-os. They don't say anything about a version number.

Nevertheless Andreas is right, as the 'os' string is 'solaris2.11' in Autoconf triplets. I disagreed with this kind of 'os' string when it was introduced in the 1990s and I still think it's confusing, but it's been that way for decades and it's not likely to be worth changing now.

Also, Andreas is right that the best way to build 64-bit Emacs executables on Solaris is to configure with CC='gcc -m64' or CC='cc -m64' or whatever. This has long been documented in Emacs's etc/MACHINES file, and this method works for many other GNU packages as well. (If method doesn't work on some other packages, I suggest the problem lies with those other packages. :-)

That being said, it would be helpful for Emacs to cater to nonstandard 'os' strings like plain 'solaris', so I installed the attached patch into Emacs master to do that. This should appear in Emacs 28 whenever that comes out, but it's too risky to slide into Emacs 27 so when building that I suggest using 'solaris2.11'.

Attachment: 0001-Simplify-Solaris-port.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]