discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gcc with Objective-C support


From: Dennis Leeuw
Subject: Re: gcc with Objective-C support
Date: Fri, 08 Feb 2008 18:46:18 +0100
User-agent: Icedove 1.5.0.14pre (X11/20071018)

Hi Andreas,

It seems that you are just missing GNU MP: http://gmplib.org/

Installing the right version should solve your problem. Or pointing GCC to the correct GMP version... depending on your situation.

With kind regards,

Dennis

Andreas Höschler wrote:
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



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep







reply via email to

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