2006/1/29, Egon Kocjan <[EMAIL PROTECTED]>: > On Sunday 29 January 2006 10:37, Christopher Pinon wrote: > > On Sat, Jan 28, 2006 at 09:31:57PM +0100, Egon Kocjan wrote: > > > On Saturday 28 January 2006 20:24, Christopher Pinon wrote: > > > > Hi, > > > > > > > > I would like to ask whether there's any hope of compiling fish-1.20.1 > > > > on an older system (gcc-2.95.3, glibc-2.2.3, doxygen-1.2.18). I've > > > > included the console log of configure below, but this looks OK. The > > > > problem is that I get a bad error as soon as I start make: > > > > > > > > > > > > $ make > > > > gcc -g -O2 -Wall -std=gnu99 -fno-strict-aliasing -c -o function.o > > > > function.c cc1: unknown C standard `gnu99' > > > > function.c: In function `function_add': > > > > function.c:96: parse error before `*' > > > > function.c:97: `d' undeclared (first use in this function) > > > > function.c:97: (Each undeclared identifier is reported only once > > > > function.c:97: for each function it appears in.) > > > > make: *** [function.o] Error 1 > > > > > > Unless somebody has a less time consuming solution, you can install newer > > > gcc. If your distro does not have anything newer, you have to compile it > > > from source. It goes like this: > > > - download gcc source (I think 3.4.x would work) > > > [...] > > > > Hi Egon, > > > > I don't really doubt that if I updated gcc (and perhaps glibc?), then I > > would be able to compile fish. The practical problem is that it's an > > older machine with limited disk space. Moreover, the vast majority of C > > programs that I want to compile on it do actually compile with gcc-2.95. > > It's a bit sad that fish doesn't. > > Actually, gcc 3.4 works even with glibc 2.1, but fish wouldn't work, since > glibc has unicode support (wide char functions) since 2.2. You just need to > build gcc 2.95.x first on such ancient systems, before compiling 3.4. > > I have compiled fish on my debian woody installation (glibc 2.2.5) and it > seems, that it only requires 2.2.3. You can download it here: > http://razor.arnes.si/~ssdekocj/fish/old/
Good to know. > > > -- Axel
