unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Richard Stallman <rms@gnu.org>
Cc: 30992@debbugs.gnu.org
Subject: bug#30992: Acknowledgement (27.0.50; Crash when graphics card switches)
Date: Tue, 10 Apr 2018 22:23:25 +0200	[thread overview]
Message-ID: <F581474F-1F24-40CA-9DA0-381733B77264@Web.DE> (raw)
In-Reply-To: <E1f5j8P-00081I-Hs@fencepost.gnu.org>



> Am 10.4.2018 um 04:35 schrieb Richard Stallman <rms@gnu.org>:
> 
> Since Apple is so nasty about its C compiler, let's urge MacOS users
> to build Emacs with a free C compiler instead -- on principle.

Clang uses internally some GCC components. Its source code is freely available under the NCSA license (http://clang.llvm.org/, http://llvm.org/). And it's also the native compiler on Macs now. Without Xcode you cannot bootstrap GCC. Xcode is also needed for porting GNU Emacs to iPad or iPhone… (I presume)

And you don't have to pay for it – since decades. (Support will cost.)

> 
> Emacs still builds on MacOS with GCC, right?

Here is a first try to configure the NS variant of GNU Emacs 26.1-rc1 with GCC 7.3:

	checking for X... libraries /opt/local/lib, headers /opt/local/include
	checking AppKit/AppKit.h usability... no
	checking AppKit/AppKit.h presence... yes
	configure: WARNING: AppKit/AppKit.h: present but cannot be compiled
	configure: WARNING: AppKit/AppKit.h:     check for missing prerequisite headers?
	configure: WARNING: AppKit/AppKit.h: see the Autoconf documentation
	configure: WARNING: AppKit/AppKit.h:     section "Present But Cannot Be Compiled"
	configure: WARNING: AppKit/AppKit.h: proceeding with the compiler's result
	configure: WARNING:     ## ------------------------------------ ##
	configure: WARNING:     ## Report this to bug-gnu-emacs@gnu.org ##
	configure: WARNING:     ## ------------------------------------ ##
	checking for AppKit/AppKit.h... no
	configure: error: The include files (AppKit/AppKit.h etc) that
	are required for a Nextstep build are missing or cannot be compiled.
	Either fix this, or re-configure with the option '--without-ns'.

The same happens with GCC 5.5. With Clang 5.0 (not from Xcode) configuration does not abort here but comes to an end. The NS variant then builds and also runs as it does with Xcode's Clang 9.1.

Building the X client works with most if not all C compilers.

-rwxr-xr-x 1 root wheel 21577940 2018-04-10 21:09 /usr/local/bin/emacs-26.1 (NS) with Clang 5
-rwxr-xr-x 1 root wheel 21639508 2018-04-10 21:39 /usr/local/bin/emacs-26.1 (NS) with Clang 9

-rwxr-xr-x 1 root wheel 17198576 2018-04-10 21:53 /usr/local/bin/emacs-26.1 (Xaw3d) with GCC 7
-rwxr-xr-x 1 root wheel 17126304 2018-04-10 22:08 /usr/local/bin/emacs-26.1 (Xaw3d) with Clang 9

All run OK. For the moment.

(Xcode comes without gcc. It has symbolic-links cc and c++ both pointing to clang. And clang++ points to clang.)

—
Greetings

  Pete

It is so hot in some places that the people there have to live in other places.






      parent reply	other threads:[~2018-04-10 20:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-29 18:29 bug#30992: 27.0.50; Crash when graphics card switches Peter Dyballa
2018-03-29 18:39 ` bug#30992: (27.0.50; Crash when graphics card switches) Peter Dyballa
2018-03-29 19:21 ` bug#30992: 27.0.50; Crash when graphics card switches Alan Third
2018-03-29 23:18   ` Peter Dyballa
     [not found] ` <handler.30992.B.15223481643623.ack@debbugs.gnu.org>
2018-04-07 10:07   ` bug#30992: Acknowledgement (27.0.50; Crash when graphics card switches) Peter Dyballa
2018-04-07 15:02     ` Alan Third
2018-04-08  4:33     ` Richard Stallman
2018-04-08 10:14       ` Alan Third
2018-04-08 12:11       ` Peter Dyballa
2018-04-09  4:28         ` Richard Stallman
2018-04-09  7:41           ` Peter Dyballa
2018-04-10  2:35             ` Richard Stallman
2018-04-10 20:00               ` Alan Third
2018-04-12  3:09                 ` Richard Stallman
2018-04-12  7:52                   ` Peter Dyballa
2018-04-13 18:14                   ` Alan Third
2018-04-13 19:57                     ` Peter Dyballa
2018-04-16  3:14                       ` Richard Stallman
2018-04-16 12:01                         ` Peter Dyballa
2018-04-16 17:51                         ` Alan Third
2018-04-16  3:14                     ` Richard Stallman
2018-04-10 20:23               ` Peter Dyballa [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F581474F-1F24-40CA-9DA0-381733B77264@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=30992@debbugs.gnu.org \
    --cc=rms@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).