This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[egcs-1.0] missing i386 breaks xmkmf on RedHat 5.0
- To: egcs at cygnus dot com
- Subject: [egcs-1.0] missing i386 breaks xmkmf on RedHat 5.0
- From: Ard Kuijpers <ard at wfw dot wtb dot tue dot nl>
- Date: Mon, 8 Dec 1997 10:42:16 +0100
Hello,
I've been trying to build some X11 programs with egcs-1.0 on RedHat
5.0. The Makefiles are generated with xmkmf which assumes that the
macro 'i386' is defined. This is the case when the preprocessor is
called from gcc, but xmkmf (or rather imake) calls cpp directly. Then
only the macros 'linux' '__ELF__' and 'unix' are defined:
% touch foo.h; /lib/cpp -dM foo.h
#define linux 1
#define __ELF__ 1
#define unix 1
Is this intentional? I understand that if it is, maybe this problem
should be solved by the RedHat/Linux people. What's your opinion?
Regards,
Ard
****************************************************************************
Ard Kuijpers
Faculty of Mechanical Engineering e-mail:ard@wfw.wtb.tue.nl
Eindhoven University of Technology phone: +31 40 2472811
P.O. Box 513, 5600 MB Eindhoven, The Netherlands fax: +31 40 2461418
****************************************************************************
"...Do what makes your heart hurt less..." _follow_your_heart_ THE PALADINS
****************************************************************************