bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] Building gettext-0.18.3.2 for G4 processor fails in un


From: Peter Dyballa
Subject: Re: [bug-gettext] Building gettext-0.18.3.2 for G4 processor fails in unsetenv.c
Date: Wed, 7 May 2014 18:43:45 +0200

Am 06.05.2014 um 08:21 schrieb Daiki Ueno:

> I'm totally unfamiliar with the cross compiling on Mac OS X, but is the
> above supposed to work?  When I cross compile something on GNU/Linux, I
> do:
> 
>  ./configure --host=x86_64-w64-mingw32
> 

When I am try this time consuming way with

        env LANG=C 
PATH=/Developer45/usr/bin:/usr/local/texlive/2013/bin/x86_64-darwin:$PATH 
./configure --target=ppc-apple-darwin10.8.0 --build=i686-apple-darwin10.8.0 
--prefix=.../build --libdir=.../build/lib-G4 --enable-shared=no 
--disable-csharp --disable-openmp --disable-acl --disable-libasprintf 
--disable-rpath --with-pic CPPFLAGS="-I.../build/include" CFLAGS="-arch ppc 
-isysroot /Developer45/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -mcpu=G4 
-m32 -H -pipe -fPIC -fast -mtune=G4 -mpowerpc-gfxopt -faltivec -maltivec 
-mabi=altivec -pthread -finline-functions" LDFLAGS="-arch ppc 
-Wl,-dead_strip_dylibs -Wl,-bind_at_load -Wl,-t" CC=gcc-4.0 CPP=cpp-4.0 
CXX=g++-4.0 CXXCPP="g++-4.0 -E" LD=gcc-4.0 OBJDUMP=gobjdump

I get:

        checking for unsetenv... yes
        checking for unsetenv() return type... int
        checking whether unsetenv obeys POSIX… no

Performing this step for all five platforms I get:

        G3:checking for unsetenv() return type... void
        G4:checking for unsetenv() return type... int
        G5:checking for unsetenv() return type... int
        i386:checking for unsetenv() return type... void
        x86_64:checking for unsetenv() return type... int

--
Greetings

  Pete

UNIX is user friendly, it's just picky about who its friends are.




reply via email to

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