[haiku-bugs] Re: [Haiku] #3561: Objective C not supported by gcc

  • From: "jprostko" <trac@xxxxxxxxxxxx>
  • Date: Fri, 25 Mar 2011 04:20:01 -0000

#3561: Objective C not supported by gcc
----------------------------+---------------------------------
   Reporter:  js            |      Owner:  jprostko
       Type:  enhancement   |     Status:  new
   Priority:  low           |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:  objective c gnu gcc
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  All
----------------------------+---------------------------------

Comment (by jprostko):

 I believe the plan is to only have C/C++ language support as part of the
 buildtools in the Haiku repository, as they are the only ones that are
 needed to build Haiku.  Obviously, what you are getting at is having the
 GCC optional package have Objective C support though.

 I think the best plan is to set up something at Haiku Ports in sys-devel
 for GCC so anybody can build GCC however they want, including other
 language support, for example.  That way we can leave any patches having
 to do with anything other than C or C++ out of the trunk of the Haiku
 buildtools.  Based on size constraints we tend to have for release images,
 the Development package that comes with Haiku may or may not include other
 language support in the future.

 I think at some point we kind of need more than just C/C++ though in a GCC
 package, whether that is included in the main GCC package or some kind of
 alternate package with support for all languages that Haiku supports
 built-in.  Right now there is a DevelopmentJava available, but making
 something like DevelopmentObjc would be kind of messy compared to that,
 given its nature.

 I think this needs discussed a bit in any case, so I'm personally not
 going to just apply the patch to the buildtools.  It is cool you got it
 working, but I want to discuss it first (here or elsewhere) to decide the
 best course of action.

 By the way, how much space does the .so for objc take up?  I doubt it's
 much, and if it isn't, maybe it can just be added to the GCC optional
 package without any consequence.  We'd have to keep the source somewhere
 though, and I think keeping it at HaikuPorts would make more sense than in
 the main buildtools repo.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3561#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: