discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gcc problem


From: Andreas Höschler
Subject: Re: gcc problem
Date: Tue, 1 Sep 2009 09:37:03 +0200

Hi all,

thanks to

Jamie Ramone <sancombru@gmail.com>
Andrew Pinski <pinskia@gmail.com>
Truls Becken <truls.becken@gmail.com>
"hns@computer.org" <hns@computer.org>

so far that gave me hints regarding the build of a recent gcc on Solaris for GNUstep/Etoile. I am currently using

        cd /usr/src
        gunzip gcc-4.4.1.tar.gz
        gtar xvf gcc-4.4.1.tar
        cd gcc-4.4.1
        mkdir objdir
        cd objdir

        export LD_LIBRARY_PATH=/usr/local/lib
../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-shared --enable-languages=c,c++,objc --libdir=/usr/local/lib --with-gmp=/usr/local --with-mpfr=/usr/local
        make

to build the beast, unfortunately still without success. I am now getting

...
checking whether /usr/src/gcc-4.4.1/objdir/./gcc/xgcc -B/usr/src/gcc-4.4.1/objdir/./gcc/ -B/usr/local/i386-pc-solaris2.10/bin/ -B/usr/local/i386-pc-solaris2.10/lib/ -isystem /usr/local/i386-pc-solaris2.10/include -isystem /usr/local/i386-pc-solaris2.10/sys-include -m64 supports -pedantic ... yes checking whether /usr/src/gcc-4.4.1/objdir/./gcc/xgcc -B/usr/src/gcc-4.4.1/objdir/./gcc/ -B/usr/local/i386-pc-solaris2.10/bin/ -B/usr/local/i386-pc-solaris2.10/lib/ -isystem /usr/local/i386-pc-solaris2.10/include -isystem /usr/local/i386-pc-solaris2.10/sys-include -m64 and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... unknown
configure: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory `/usr/share/src/gcc-4.4.1/objdir'
make: *** [all] Error 2

I am on Solaris x86 so this will probably be ac_cv_c_bigendian=no, but I am not sure how and where to set it. Moreover I am wondering why ./configure was not able to determine that. I had never such trouble with gcc version < 4.0!? Could anyone please recommend me a working gcc version for building Etoile ideally including the configu reline? Is current Etoile compatible with current gnustep or do I have to download an older release of GNUstep to get Etoile working?

Thanks a lot!

Andreas





reply via email to

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