Re: glibc-2.3.2-decc-compaq.patch

Aron Griffis <[email protected]>
Newsgroups gmane.linux.gentoo.alpha
Message-ID <20040206035536.GF24534@time>
Marc Giger wrote:	[Wed Feb 04 2004, 06:13:30PM EST]
> Can someone of you comment why the following patch is needed?
> 
> diff -ruN glibc-2.3.2.orig/include/features.h
> glibc-2.3.2/include/features.h--- glibc-2.3.2.orig/include/features.h
> 2003-06-14 00:28:23.000000000 +0100+++ glibc-2.3.2/include/features.h   
>   2003-06-14 00:58:57.000000000 +0100@@ -285,7 +285,8 @@
>  #if defined __GNUC__ \
> || (defined __PGI && defined __i386__ ) \
> || (defined __INTEL_COMPILER && (defined __i386__ || defined __ia64__))\
> - || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
> + || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)\
> + &&!(defined(__DECC) || defined(__DECCXX)) 
> # define__GLIBC_HAVE_LONG_LONG      1 
> #endif
> 
> The Compaq C Compiler knows the "long long" datatype like gcc does. It's
> also of the same size on both compilers 
> (long == long int == long long == 8bytes). 

You're right, this looks broken to me.

> printf '%s %s %s\n' \
>                 "-L${gcc_libs_path}" \
>                 " -SysIncDir
> /usr/lib/compaq/ccc-${ccc_release}/alpha-linux/include" \               
> " -SysIncDir /usr/include/linux" \                >
> usr/lib/compaq/ccc-${ccc_release}/alpha-linux/bin/comp.config

So do you know how this should be changed exactly?

Regards,
Aron

--
Aron Griffis
Gentoo Linux Developer (alpha / ia64 / ruby / vim)
Key fingerprint = E3B6 8734 C2D6 B5E5 AE76  FB3A 26B1 C5E3 2010 4EB0
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAIxA4JrHF4yAQTrARAq4+AKCgR4bdRA9bFKB+8ISbiXR2zY5d0ACdFTgG
yts2DAVJgHGyotvj2iHtFKA=
=1Bk2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.