On Sat, 26 Jun 2004, Nicholas Clark wrote:

> What's the task list for being able to upgrade ICU to something current?
> This is pissing me off sufficiently that I WILL DO IT once I know what it is.
>
> The one we've got is an albatross. It can't build with g++ on AIX
> (because it has IBM compiler specific **OPTIMISATION** flags in the
> default AIX config), and on Solaris I find this joy:
>
> $ file src/extend.o
> src/extend.o:   ELF 32-bit MSB relocatable SPARC Version 1
> $ file icu/source/i18n/anytrans.o
> icu/source/i18n/anytrans.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
>
> The sodding thing insists on building LP64.
> (And that's *AFTER* forcing the compiler flags to it to defined _XP6, else
> a system header bails out with #error, and getting the sysadmin to install
> gnu make, and putting gnu make first in my path (Lo stupid! I'd invoked
> make with a absolute path. DAMN WELL USE THAT))

Here's what I currently use to get around various problems while trying
to build on Solaris 8 with Sun's CC compiler (this assumes you are using
perl5.6 or higher)

    #!/bin/sh
    perl Configure.pl --cc=cc --cxx=CC --link=CC
    MAKE=GNUmake GNUmake

Note two tricks:  First, tell Configure.pl explicitly which C, C++, and
linker to use.  Configure.pl will pass that information on to ICU's
configure, overriding ICU's built-in biases.

Second, deep down in ICU, it calls a 'make' command by searching
in the environment and, if that fails, by looking for either 'gmake' or
'make' by name (if memory serves).  To fix this, you need to re-work one
of the $(INVOKE) Makefile macros down in icu/ somewhere to include passing
$(MAKE) along.

Meantime, what I have above works for me -- but I'm using a version of the
C compiler that doesn't emit v9 code by default -- it still uses v8, so
I haven't hit the 64-bit issue that you have.  Still, this may get you a
bit further.

    Andy Dougherty              [EMAIL PROTECTED]

P.S.  Mail to me will probably not go through.  There was a DNS change on
campus that has fouled up our mailer so that it accepts mail for me, but
then apparently silently throws it away.  This has been going on for
several days now, and is likely to continue for several more :-(.
  • ICU Nicholas Clark
    • Andy Dougherty

Reply via email to