[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc with Objective-C support
From: |
Fred Kiefer |
Subject: |
Re: gcc with Objective-C support |
Date: |
Fri, 08 Feb 2008 21:18:35 +0100 |
User-agent: |
Thunderbird 2.0.0.9 (X11/20070801) |
I don't expect gmp to help here. This just happens to be the last test
before the actual failure. What may help is to copy in the original code
from GCC, but I don't know for sure.
Cheers,
Fred
Dennis Leeuw wrote:
> 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!
>>