Gentoo Archives: gentoo-alt

From: Dirk Tilger <dirk@××××××.de>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] IRIX
Date: Thu, 20 Dec 2007 15:53:26
Message-Id: 20071220155249.GA343@miriup.de
In Reply to: [gentoo-alt] IRIX by Fabian Groffen
1 On Wed, Dec 19, 2007 at 07:37:46PM +0100, Fabian Groffen wrote:
2 > > > If I interrupt ncurses, change those two Makefiles, and resume then it
3 > > > builds successfully - and the only other problem is /bin/sh reporting
4 > > > 'too many args' (event though ncargs is 20480) when installing
5 > > > manpages. Commenting this out and running that command manually
6 > > > (using bash rather than sh) fixed this.
7 >
8 > I guess using bash for everything on IRIX is a good idea in any case.
9
10 I can't find my link on the command line length issue at the moment, but
11 I remember a setting for the command line length in bytes that needed to
12 be changed in order for some projects to be build with a lot of files. I
13 remember needing to put a very high number (coming close to 64k) for
14 openscenegraph, for example.
15
16 > > > > sys-apps/sed-4.1.5 doesn't compile (with the platform compilers) as
17 > > > > the following syntax isn't accepted:
18 > > > >
19 > > > > cc-1017 c99: ERROR File = regcomp.c, Line = 561
20 > > > > An unmatched left bracket ("[") appears in an expression.
21 > > > >
22 > > > > [0 ... 0x80 / BITSET_WORD_BITS - 1] = BITSET_WORD_MAX
23 > > > > ^
24 >
25 > I have no idea what this actually is supposed to mean (the code), so I
26 > can't come up with a fix.
27
28 The code above has kept me busy a while, too. The syntax above
29 (initializing an array statically with one statement) is a GNU C
30 Compiler extension and not part of the C99 standard. I have played with
31 the --pedantic option of gcc and figured that there is a lot of apps
32 that use the one or the other GNU extension.
33
34 Most of the extensions are documented here:
35 http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/index.html#Top
36
37 For sed I found at the time of my tries (2 months back) that only the
38 latest version makes use of the GNU C Extensions, while the previous
39 version does not.
40
41 Dirk.
42 --
43 gentoo-alt@g.o mailing list