Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2009 14:52:52 -0600 (CST)
From:      Loren James Rittle <rittle@latour.labs.mot.com>
To:        Gerald Pfeifer<gerald@pfeifer.com>
Cc:        ports@FreeBSD.org, douglas@douglasthrift.net
Subject:   Re: FreeBSD Port: gcc-4.4.3.20091117
Message-ID:  <200911302052.nAUKqqV0056947@latour.labs.mot.com>
In-Reply-To: <alpine.LSU.1.99.0911221528550.20270@acrux.dbai.tuwien.ac.at> (message from Gerald Pfeifer on Sun, 22 Nov 2009 15:31:25 %2B0100 (CET))
References:  <4B050C0B.3010305@douglasthrift.net> <alpine.LSU.1.99.0911221528550.20270@acrux.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <alpine.LSU.1.99.0911221528550.20270@acrux.dbai.tuwien.ac.at>, Gerald Pfeifer<gerald@pfeifer.com> writes:

> On Thu, 19 Nov 2009, Douglas Thrift wrote:
>> I'm currently working with a friend on a new project 
>> (http://www.cycript.org/) that uses Objective-C++ for its bindings to 
>> GNUstep. Would it be possible to add a knob or something to the gcc 
>> ports to enable Objective-C++ support?

> The best approach would be checking with upstream why Objective-C (and
> Objective-C++) are not enabled by default on FreeBSD, which I believe
> is a change from earlier versions.  Loren, do you know?

> In general, I'd be open to add something to the lang/gcc45 (preferred 
> initially) and lang(gcc44 ports if you'd like to suggest a patch, Douglas.

> Gerald

Hello,

I just returned to the office (and related e-mail).

Objective-C is enabled by default for FreeBSD in the FSF source
release.  It has been for as long as I can remember.

It is my understanding that Objective-C++ is not enabled by default
for any platform.  I do not know if it even builds for FreeBSD.

According to gcc/objcp/config-lang.in :

# Per GCC Steering Committee.
build_by_default="no"

Therefore either:

(1) You need to manually configure with --enable-languages=obj-c++

(which I think could be enabled by a FreeBSD port collection knob with
a default of "no" to honor the request of the GCC Steering Committee)

(2) Contact a member of the GCC Steering Committee to understand why
the default is as such and whether an OS port collection may override
the default.

Sorry, I don't know the history here.

Regards,
Loren



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911302052.nAUKqqV0056947>