Gentoo Archives: gentoo-alpha

From: Aron Griffis <agriffis@g.o>
To: gentoo-alpha@l.g.o
Subject: Re: [gentoo-alpha] glibc-2.3.2-decc-compaq.patch
Date: Fri, 06 Feb 2004 03:55:38
Message-Id: 20040206035536.GF24534@time
In Reply to: [gentoo-alpha] glibc-2.3.2-decc-compaq.patch by Marc Giger
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

Replies

Subject Author
Re: [gentoo-alpha] glibc-2.3.2-decc-compaq.patch Marc Giger <gigerstyle@×××.ch>