Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: Compaq Tru64 Unix Alpha platform - Building freeciv
Home

[Freeciv-Dev] Re: Compaq Tru64 Unix Alpha platform - Building freeciv

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Davide Pagnin <nightmare@xxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Compaq Tru64 Unix Alpha platform - Building freeciv
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 May 2002 03:09:47 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, May 19, 2002 at 01:43:54AM +0200, Davide Pagnin wrote:
>       Hi All!
> 
> I've reviewed the patch for 64 bit platforms, made by Raimar, after
> I've pointed out the warning that a compilation raise under those
> type of machines.

> The attached patch, is Raimar patch, with the addition of a missed
> conversion from XtPointer(punit->id) to INT_TO_XTPOINTER(punit->id)
> which where at line 2125, in the file client/gui-xaw/citydlg.c

Thanks.

> The other attachment is the warning report on my machine, with all 
> the problems related to assert() and isspace() like functions.

I will take a look.

> I've read that Raimar does compile with an alpha but didn't run
> into those warning, perhaps we have different environment?
> 
> Mine environment:
> uname -svrm
> OSF1 V5.1 1885 alpha

I used "[Alpha] Linux 2.2 (Debian 2.2)" from cf.sf.net.

$ uname -a
Linux usf-cf-alpha-linux-1 2.4.17 #1 SMP Fri Jan 4 13:37:30 PST 2002 alpha 
unknown
$ gcc --version
2.95.2

> For build properly, requires --disable-nls.
> (Installed gettext is only 0.10.35)
> 
> gcc -v
> Reading specs from
> /usr/local/lib/gcc-lib/alphaev56-dec-osf5.1/3.0.3/specs
> Configured with: ../gcc-3.0.3/configure 
> Thread model: single
> gcc version 3.0.3

> I've tried to build with the /bin/cc, the bundled compiler from Compaq,
> but very uncommon warning and errors come out the glib includes, and
> other also some errors, within the macro preprocessor, so I had been
> forced to compile with gcc.

The xaw client doesn't need glib. Can you try this?

> P.S. Without --disable-nls, the configure scripts fails, is not
> possible, now that we use autogen.sh, to properly probe gettext and
> via a test have the --disable-nls switch added if the system doesn't
> provide the necessary gettext >= 0.10.38?

configure prints a nice message of the cause and the info about
--disable-nls. This is IMHO enough.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "- Amiga Y2K fixes (a bit late, wouldn't you say?)"
    -- Linus Torvalds about linux 2.4.0 at 4 Jan 2001


[Prev in Thread] Current Thread [Next in Thread]