Re: gcc problem

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: gcc problem

by Andreas Höschler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

thanks to

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

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


_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss

Re: gcc problem

by Quentin Mathé-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andreas,

Le 1 sept. 2009 à 09:37, Andreas Höschler a écrit :

> Is current Etoile compatible with current gnustep or do I have to  
> download an older release of GNUstep to get Etoile working?

Étoilé trunk is compatible with GNUstep unstable trunk and should be  
compatible with the last GNUstep unstable release (and may be some  
older unstable releases too).
I haven't tested the Étoilé 4.1 release and our stable branch with the  
current GNUstep unstable trunk, but they should be compatible I think.
You can also look at the INSTALL files in the 4.1 release, stable and  
trunk where the compatibility is detailed.

Cheers,
Quentin.
_______________________________________________
Etoile-discuss mailing list
Etoile-discuss@...
https://mail.gna.org/listinfo/etoile-discuss