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
1 Marc Giger wrote: [Wed Feb 04 2004, 06:13:30PM EST]
2 > Can someone of you comment why the following patch is needed?
3 >
4 > diff -ruN glibc-2.3.2.orig/include/features.h
5 > glibc-2.3.2/include/features.h--- glibc-2.3.2.orig/include/features.h
6 > 2003-06-14 00:28:23.000000000 +0100+++ glibc-2.3.2/include/features.h
7 > 2003-06-14 00:58:57.000000000 +0100@@ -285,7 +285,8 @@
8 > #if defined __GNUC__ \
9 > || (defined __PGI && defined __i386__ ) \
10 > || (defined __INTEL_COMPILER && (defined __i386__ || defined __ia64__))\
11 > - || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
12 > + || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)\
13 > + &&!(defined(__DECC) || defined(__DECCXX))
14 > # define__GLIBC_HAVE_LONG_LONG 1
15 > #endif
16 >
17 > The Compaq C Compiler knows the "long long" datatype like gcc does. It's
18 > also of the same size on both compilers
19 > (long == long int == long long == 8bytes).
20
21 You're right, this looks broken to me.
22
23 > printf '%s %s %s\n' \
24 > "-L${gcc_libs_path}" \
25 > " -SysIncDir
26 > /usr/lib/compaq/ccc-${ccc_release}/alpha-linux/include" \
27 > " -SysIncDir /usr/include/linux" \ >
28 > usr/lib/compaq/ccc-${ccc_release}/alpha-linux/bin/comp.config
29
30 So do you know how this should be changed exactly?
31
32 Regards,
33 Aron
34
35 --
36 Aron Griffis
37 Gentoo Linux Developer (alpha / ia64 / ruby / vim)
38 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>