From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: CMake build anyone? Date: Mon, 26 Jul 2010 02:16:57 +0200 Message-ID: <87mxtfumfa.fsf@telefonica.net> References: <87aapfxyhc.fsf@telefonica.net> <87wrsjwijl.fsf@telefonica.net> <83mxtfb7uo.fsf@gnu.org> <874ofnw8j4.fsf@telefonica.net> <87vd83unxi.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280103446 1558 80.91.229.12 (26 Jul 2010 00:17:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 00:17:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 26 02:17:23 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OdBNj-00089S-9e for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2010 02:17:23 +0200 Original-Received: from localhost ([127.0.0.1]:47370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdBNi-0000gz-Cq for ged-emacs-devel@m.gmane.org; Sun, 25 Jul 2010 20:17:22 -0400 Original-Received: from [140.186.70.92] (port=34033 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdBNb-0000fe-Lm for emacs-devel@gnu.org; Sun, 25 Jul 2010 20:17:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdBNa-0007hX-HX for emacs-devel@gnu.org; Sun, 25 Jul 2010 20:17:15 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52996) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdBNa-0007hQ-9H for emacs-devel@gnu.org; Sun, 25 Jul 2010 20:17:14 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OdBNV-00086n-J3 for emacs-devel@gnu.org; Mon, 26 Jul 2010 02:17:09 +0200 Original-Received: from 83.42.13.171 ([83.42.13.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2010 02:17:09 +0200 Original-Received: from ofv by 83.42.13.171 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2010 02:17:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.42.13.171 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:qNydKzZ6R7jQ2xEuUgfNJd74nXQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127810 Archived-At: Juanma Barranquero writes: > Do you mean that if I use CMake to generate makefiles in my setup, > which uses the TDM-2 mingw32 4.4.1-dw2 compiler (a port of MinGW) > installed on C:/mingw, the makefiles would be dependend on that tool, > and its installation path, and couldn't be used by someone who has GCC > 3.4.5 (mingw-vista special r3) on "C:/Program Files/MinGW"? Yes. There is a FAQ for it: http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_build_tree.3F The scenario you describe is worse still, because the other user may be using a different mingw runtime or winapi version, or some library may be missing from his machine, etc. You can think that cmake must be installed on the machine where emacs is compiled for the same reason that the `configure' script must be run on the traditional build.