all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexander Klimov <alserkli@inbox.ru>
To: emacs-devel@gnu.org
Subject: preprocessing Makefile
Date: Thu, 19 Jul 2007 12:41:57 +0300 (IDT)	[thread overview]
Message-ID: <TheMailAgent.1cc348f24426e8a@26af22b499cdfd71bde4b> (raw)

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

             reply	other threads:[~2007-07-19  9:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-19  9:41 Alexander Klimov [this message]
2007-07-19 10:02 ` preprocessing Makefile Thien-Thi Nguyen
2007-07-19 21:21   ` Richard Stallman
2007-07-20 22:37     ` Thien-Thi Nguyen
2007-07-20 23:30       ` Thien-Thi Nguyen
2007-07-23  8:36       ` Alexander Klimov
2007-07-23 13:54         ` Alexander Klimov
2008-03-11 13:48           ` Alexander Klimov
2008-07-01  3:16             ` Glenn Morris

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

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

  git send-email \
    --in-reply-to=TheMailAgent.1cc348f24426e8a@26af22b499cdfd71bde4b \
    --to=alserkli@inbox.ru \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.