Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Objective C
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
TomorrowPlusX
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 168
Location: Washington DC, USA

PostPosted: Wed Aug 07, 2002 6:31 pm    Post subject: Objective C Reply with quote

Hi
I recently began to study up on objective c; after many happy years of c++ I've realized that there are some things which objective c might do better, and as such could make my life a little easier (the elusive goal of the archetypical coder/hacker ;)

However, I'm not 100% certain how to go about getting an objective c developer/runtime environment on my machine.

First, I'm using gcc 2.95 and I suspect it doesn't have objective c support at all. Does this mean I have to upgrade to gcc 3.x?

Second, the objective c runtime (sys-devel/objc-<package>) is listed as masked when I do an emerge -s on "objc" (I could be a little wrong, I'm at work, on a win2k box). But I can't find those packages in my package.mask.

So -- anybody have any suggestions? Are there USE vars which will promote objective c gcc support and so on?
Back to top
View user's profile Send private message
Jesse
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 148

PostPosted: Wed Aug 07, 2002 7:06 pm    Post subject: Reply with quote

http://gcc.gnu.org/onlinedocs/

and more specifically ...
http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc.html

You can start there, as that should be required reading anyhow :)
Back to top
View user's profile Send private message
TomorrowPlusX
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 168
Location: Washington DC, USA

PostPosted: Wed Aug 07, 2002 11:27 pm    Post subject: Yes, but... Reply with quote

Actually, I've already read most of this via the info pages -- though admittedly, I just picked up a bit I hadn't before, as most of my previous info page traversals have been to look up obscure linking issues and whatnot.

My concern is that gcc *should* be built with objective c automatically, and the headers and runtime should just be there, but it doesn't seem to have been, since I'm missing /usr/include/objc -- so even if gcc knows how to compile an objective c .m file, it won't link it.

A quick "locate objc" reveals that I don't have the runtime or headers. So it's moot.

Does anybody know how to solve this? I'm not particularly excited by the idea of manually installing gcc, though I will if I have to.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum