[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use of libobjc from gcc 4.1 with MinGW
From: |
Xavier Glattard |
Subject: |
Re: Use of libobjc from gcc 4.1 with MinGW |
Date: |
Fri, 23 Mar 2007 13:07:13 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Nicola Pero <nicola.pero <at> meta-innovation.com> writes:
> > Do i miss something ?
>
> I think there might be a bit of confusion ... let me explain
>
> If you want to try native exceptions on MinGW, you should:
>
> 1. install MSYS/MinGW
>
> 2. build/install a GCC 4.x that provides you with native exceptions
>
> 3. make sure this new GCC is the compiler that will be used by GNUstep
> (probably just make it the default compiler)
>
> 4. follow the README.MinGW about installing GNUstep on MinGW/MSYS. In
> particular, delete the libobjc
> that comes with whatever GCC you installed, and install gnustep-objc as
> explained in README.MinGW.
>
> Then you should be able to test native exceptions ... it would be lovely for
> them to work, not sure though.
If there is a bit of confusion it's not here ;-)
I've did that many times. gnustep-make configure script tells me :
checking for custom shared objc library... /c/GNUStep/System/Library/Libraries
checking whether objc has thread support... yes:
checking whether we should use native ObjC exceptions... no
configure: Native objective-c exceptions were requested, but the compiler
configure: doesn't support them.
configure: error: compiler doesn't support native objective-c exceptions
... and configure fails.
If i don't ask for native exceptions i get :
checking for custom shared objc library... /c/GNUStep/System/Library/Libraries
checking whether objc has thread support... yes:
checking whether we should use native ObjC exceptions... not requested by user
checking for the GCC version... version: 4.1
checking if the compiler supports autodependencies... yes: gcc version is 4.1
>= 3.0
checking if the compiler supports precompiled headers... no: old or buggy gcc
checking if the compiler requires -shared flag to build for Solaris... yes: gcc
version is 4.1 >= 4.0
... and configure succeeds.
You can see that gnustep-libobjc and gcc-4.1.2 are found.
But you can also see that precompiled headers do not work...
With gcc-libobcj i get :
checking for custom shared objc library... NONE
checking whether objc has thread support... yes:
checking whether we should use native ObjC exceptions... yes
checking for the GCC version... version: 4.1
checking if the compiler supports autodependencies... yes: gcc version is 4.1
>= 3.0
checking if the compiler supports precompiled headers... no: old or buggy gcc
checking if the compiler requires -shared flag to build for Solaris... yes: gcc
version is 4.1 >= 4.0
... and configure succeed.
(but gnustep-base compilation fails)
I might have miss something, but what ??
Xavier
- Re: Use of libobjc from gcc 4.1 with MinGW, (continued)
- Re: Use of libobjc from gcc 4.1 with MinGW, Andrew Pinski, 2007/03/21
- Re: Use of libobjc from gcc 4.1 with MinGW, Xavier Glattard, 2007/03/21
- Re: Use of libobjc from gcc 4.1 with MinGW, Helge Hess, 2007/03/21
- Re: Use of libobjc from gcc 4.1 with MinGW, Xavier Glattard, 2007/03/22
- Re: Use of libobjc from gcc 4.1 with MinGW, Helge Hess, 2007/03/22
- Re: Use of libobjc from gcc 4.1 with MinGW, Andrew Pinski, 2007/03/22
Re: Use of libobjc from gcc 4.1 with MinGW, Xavier Glattard, 2007/03/21
Re: Use of libobjc from gcc 4.1 with MinGW, Nicola Pero, 2007/03/22
Re: Use of libobjc from gcc 4.1 with MinGW, Nicola Pero, 2007/03/23
- Re: Use of libobjc from gcc 4.1 with MinGW,
Xavier Glattard <=
Re: Use of libobjc from gcc 4.1 with MinGW, Nicola Pero, 2007/03/23
Re: Use of libobjc from gcc 4.1 with MinGW, Nicola Pero, 2007/03/23