From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Klimov Newsgroups: gmane.emacs.devel Subject: preprocessing Makefile Date: Thu, 19 Jul 2007 12:41:57 +0300 (IDT) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1184838138 7547 80.91.229.12 (19 Jul 2007 09:42:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2007 09:42:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 19 11:42:16 2007 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.50) id 1IBSWU-00067F-4E for ged-emacs-devel@m.gmane.org; Thu, 19 Jul 2007 11:42:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBSWT-0001zW-OD for ged-emacs-devel@m.gmane.org; Thu, 19 Jul 2007 05:42:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBSWP-0001zN-QP for emacs-devel@gnu.org; Thu, 19 Jul 2007 05:42:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBSWL-0001z3-4b for emacs-devel@gnu.org; Thu, 19 Jul 2007 05:42:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBSWK-0001z0-Rj for emacs-devel@gnu.org; Thu, 19 Jul 2007 05:42:04 -0400 Original-Received: from www.eitan.edu ([199.203.54.24] helo=eitan.edu) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IBSWJ-0000rF-UO for emacs-devel@gnu.org; Thu, 19 Jul 2007 05:42:04 -0400 Original-Received: (qmail 29131 invoked from network); 19 Jul 2007 09:41:57 -0000 Original-Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 19 Jul 2007 09:41:57 -0000 X-detected-kernel: Solaris 9 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:75115 Archived-At: Hi. I have GTK installed in a directory with a name that contains /soft-linux/. A Makefile is generated by a C preprocessor and as a result the path is converted to .../soft-1/... and I have an error during compilation of emacs from cvs: gcc -c [...] -I[...]/soft-1/include/gtk-2.0 [...] Since `echo | gcc -E -dM - | grep -v __' gives me #define i386 1 #define unix 1 #define linux 1 I suspect that I would have similar problems with `unix' or the processor name in the path. One solution is to set CPP="gcc -E -undef" or at least -Ulinux in my case, but I am not sure if this does not introduce other problems (currently bootstrap fails for me even on a system that does not have this problem with paths). -- Regards, ASK