unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* preprocessing Makefile
@ 2007-07-19  9:41 Alexander Klimov
  2007-07-19 10:02 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 9+ messages in thread
From: Alexander Klimov @ 2007-07-19  9:41 UTC (permalink / raw)
  To: emacs-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-07-01  3:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-19  9:41 preprocessing Makefile Alexander Klimov
2007-07-19 10:02 ` 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

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).