discuss-gnustep
[Top][All Lists]
Advanced

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

gcc with Objective-C support


From: Andreas Höschler
Subject: gcc with Objective-C support
Date: Fri, 8 Feb 2008 11:29:32 +0100

Hi all,

Sun has released a tweaked version of gcc 4.2.0 with some optimizations for the SPARC platform.

Here are the links:
GCC For SPARC Systems 4.2.0
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/ en_US/-/USD/ViewProductDetail-Start?ProductRef=GCC-4.2.0a-G-F@CDS- CDS_SMI

Sun Code Generator For SPARC Systems
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/ en_US/-/USD/ViewProductDetail-Start?ProductRef=GCC-4.2.0-SCG-G-F@CDS- CDS_SMI

Cool Tools Information Page
http://cooltools.sunsource.net/

My attempt to build the sources with Objective-C support failed:

../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++,objc
creating cache ./config.cache
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking build system type... sparc-sun-solaris2.10
checking for a BSD compatible install... ../install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for correct version of gmp.h... no
configure: error:
The following requested languages could not be built: objc
Recognised languages are: c,c++,fortran,obj-c++,treelang

../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls --disable-libgcj --enable-languages=c,c++,obj-c++
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking build system type... sparc-sun-solaris2.10
checking for a BSD compatible install... ../install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for correct version of gmp.h... no
 `objc' language required by `obj-c++'; enabling
configure: error: The gcc/objc directory contains parts of obj-c++ but is missing

Unfortunately Sun has not cared much for Objective-C support so far. Can this simply be added to the code tree from Sun. I would like to test whether the mentioned optimizations have a positive effect on GNUstep applications running on Solaris SPARC.

Hints are greatly appreciated!

Thanks,

  Andreas





reply via email to

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