Re: HEAD compile error on Alpha Linux and Compaq C Compiler - SOLVED - [PATCH]

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 29 Dec 2001 02:39:22 +0100

On Friday 28 December 2001 23.06, Guido Serassio wrote:

> >To work around the problem, tell configure that byteswap.h does not
> > exists:
> >
> > ac_cv_header_byteswap_h=no ./configure ...
> >
> >Or if you want to test it proper, add a configure test that verifies if
> >byteswap.h can really be used, not only if it exists or not.
>
> Sure, is the right and more elegant solution, but is this a good sense work
> ?

Both of the above is better than that long defines check in my opinion.

> Alpha is a low spread Linux port and Compaq C compiler for Linux is used
> very rarely, plus, Compaq has just announced the death of Alpha processor
> ......
> The future "MUST" be Itanium (Bleaaahhhhh) ....

If you don't think it is a problem, then use the workaround presented above.
Similar workarounds will quite likely be needed for other applications as
well if using the ccc compiler.

> >The long term fix is to get byteswap.h to work using the Digital/Compaq
> >compiler..
>
> OK, but the not working include file is a gcc include file used from ccc,
> so, I think that ask to the gcc team to change this file can be ...
> blasphemous .....

It is not the GCC team you have to ask. /usr/include/byteswap.h is a glibc
header, not a GCC header. The GCC headers are properly separated from system
headers in /usr/lib/gcc-lib/..../include/

/usr/include/ headers should be pretty much compiler neutral (won't in a
number of years, but should..)

Regards
Henrik
Received on Fri Dec 28 2001 - 19:05:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:42 MST