[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: PROPOSAL: Objective-C++
From: |
Richard Dale |
Subject: |
Re: Fwd: PROPOSAL: Objective-C++ |
Date: |
Wed, 14 Nov 2001 11:55:05 +0000 |
Hi Mathieu
Yes, I'm keen on this. I think the Qt 3/KDE 3 Objective-C bindings are just
too large if you have to link against C bindings too. I've just got Qt 3/KDE
3 wrapped and compiled with gcc 3.0.1, but it won't run:
tipitina duke 1187% ./kangaroo
lt-kangaroo: error in loading shared libraries:
/usr/local/GNUstep/System/Libraries/powerpc/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1:
R_PPC_REL24 relocation out of range
Everything was compiled with the -fPIC flag.
So I'm a bit fed up with it... I'd love Objective-C++ for Linux gcc 3.x ASAP.
On Tuesday 13 November 2001 9:44 pm, Ziemowit Laski wrote:
> The purpose of this post is twofold. First, we'd like
> to know whether there exists an interest in the community
> for incorporating Objective-C++ capability into FSF gcc 3.x.
Yes, yes, yes!
This is the same problem I had when I compiled KDE 2.0 bindings with gcc
2.95.x. Other than that the bindings are ready for checkin - maybe the
problem won't happen on Intel.
-- Richard
On Tuesday 13 November 2001 9:44 pm, you wrote:
> I have got the following on the gcc mailing list
> Mathieu
>
> ---------- Forwarded Message ----------
>
> Subject: PROPOSAL: Objective-C++
> Date: Tue, 13 Nov 2001 12:47:00 -0800
> From: Ziemowit Laski <zlaski@apple.com>
> To: gcc@gcc.gnu.org
> Cc: discuss-gnustep@gnu.org, Stan Shebs <shebs@apple.com>,
> snaroff@apple.com
>
> PUTTING OBJECTIVE-C++ INTO GCC 3.x
>
> As some of you may know, Apple is currently using a customized
> gcc 2.95.2 as its system compiler for Mac OS X. One of the
> Apple additions to its gcc 2.95.2 is a front-end for the
> Objective-C++ language (cc1objplus).
>
> The Objective-C++ language may be thought of an extension of C++,
> analogously to how Objective-C extends C. The language was
> originally envisioned as an interface technology, enabling users
> to directly invoke Objective-C APIs (such as NeXTStep/GNUStep, or
> Cocoa on Mac OS X) from C++ code -- and vice versa -- without the
> need for C glue code. Needless to say, Objective-C++ is extremely
> useful in this regard, allowing developers to port applications
> to Mac OS X (and other platforms with existing Objective-C
> frameworks) with much more ease.
>
> To the seasoned programmer :), Objective-C++ provides an opportunity
> to leverage the characteristics of both C++ and Objective-C in the
> same translation unit. The C++ and Objective-C object models
> complement each other quite nicely, allowing programmers to make
> trade-offs between efficiency and type-safety on the one hand, and
> flexibility and dynamism on the other.
>
> Unfortunately, even though it may be of interest to the outside
> community (e.g., GNUStep users), the existing 2.95.2 version of
> Objective-C++ is not really in a state amenable to integration into
> FSF 2.95.x sources. But . . .
>
> We are currently working on rolling out gcc 3.x on Mac OS X.
> Obviously, this work will include bringing up the Objective-C++
> 3.x front-end. This time around, however, we would like to
> coordinate its development with the community at large, so
> that the finished (or even evolving) product can become part
> of the FSF tree. Obviously, we will strive to integrate
> Objective-C++ into the FSF tree in such a way that it will
> have minimal impact on those _not_ wishing to use it. :)
>
> The purpose of this post is twofold. First, we'd like
> to know whether there exists an interest in the community
> for incorporating Objective-C++ capability into FSF gcc 3.x.
>
> Second, if there _is_ interest, we would like to request
> permission to make one small change to the C++ build
> process _right now_ that would make everyone's life
> easier from then on. The idea is to change gcc/cp/parse.y
> to gcc/cp/cp-parse.in, and then use sed to separate out
> the C++ and Objective-C++ portions of the Yacc file,
> _exactly_ as is presently being done with C and Objective-C.
>
> The good news about adding Objective-C++ to gcc is that
> very little actual new code will be required! Most of the
> functionality already exists in the cp/ and objc/ folders. :)
>
> Thanks for reading this. We look forward to hearing from all
> of you.
>
> --Zem
> --------------------------------------------------------------
> Ziemowit Laski Apple Computer, Inc.
> zlaski@apple.com 2 Infinite Loop, MS 302-4SN
> +1.408.974.6229 Fax .1344 Cupertino, CA 95014-2085
>
> -------------------------------------------------------
- Re: PROPOSAL: Objective-C++, (continued)
- Re: PROPOSAL: Objective-C++, Richard Frith-Macdonald, 2001/11/15
- Re: PROPOSAL: Objective-C++, Richard Frith-Macdonald, 2001/11/15
- gdb-objc [was: PROPOSAL: Objective-C++ ], David Relson, 2001/11/15
- Re: PROPOSAL: Objective-C++, Stan Shebs, 2001/11/15
- Re: PROPOSAL: Objective-C++, Erik M. Buck, 2001/11/15
- Re: PROPOSAL: Objective-C++, Stan Shebs, 2001/11/15
- Re: PROPOSAL: Objective-C++, Alexandre Oliva, 2001/11/18
- Re: PROPOSAL: Objective-C++, Joe Buck, 2001/11/19
Re: Fwd: PROPOSAL: Objective-C++,
Richard Dale <=
Re: PROPOSAL: Objective-C++, LHelldorf, 2001/11/16
- Re: PROPOSAL: Objective-C++, Ovidiu Predescu, 2001/11/19
- Re: PROPOSAL: Objective-C++, Kim Shrier, 2001/11/19
- Re: PROPOSAL: Objective-C++, Ziemowit Laski, 2001/11/19
- Re: PROPOSAL: Objective-C++, Kim Shrier, 2001/11/19
- Re: PROPOSAL: Objective-C++, Philippe C.D. Robert, 2001/11/19
- Re: PROPOSAL: Objective-C++, Björn Gohla, 2001/11/19
- Re: PROPOSAL: Objective-C++, Nicola Pero, 2001/11/19
- Re: PROPOSAL: Objective-C++, David Relson, 2001/11/19
- Re: PROPOSAL: Objective-C++, Erik M. Buck, 2001/11/19