This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems with gcc/config/arm/arm.h...


> Hi,
> 
> I am having trouble building EGCS for the NetWinder from the source in CVS.
> 
> Changes made to the header gcc/config/arm/arm.h prevent gcc/crtstuff.c from
> compiling when building for ArmLinux.  The problem is HOST_WIDE_INT is never
> defined when gcc/hwint.h is included as HOST_BITS_PER_LONG and HOST_BITS_PER_INT
> are not defined.
> 
> These are actually defined in gcc/config/arm/xm-arm.h as in all the other
> ports.  xm-arm.h is included by gcc/xm-linux.h.  xm-linux.h is included in
> gcc/config.h.  This is not included in crtstuff.c; there is a comment saying it
> is not the appropriate thing to do.
> 
> The problem in arm.h occurs wherever the define Hint is used.  Is it important
> for the prototypes to be defined with type HOST_WIDE_INT or can I just change it
> to long.  I'm not keen on doing some other macro magic, as I find it makes the
> meaning obscure.  Any suggestions?


I've just committed a fix for this:

Tue Apr 13 05:04:59 1999  Richard Earnshaw (rearnsha@arm.com)

	* arm.h (function prototypes for arm.c): Ifdef these out if
	HAVE_CONFIG_H is not defined.

Richard.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]