Objective-C v2.0 (which is what the mac uses) got a new feature, Garbage Collection. I'm a kid on a Linux PC (Ubuntu in case your wondering). So my question is, using the gcc/g++ compiler is Objective-C Garbage Collected?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- C# GC not freeing memory [duplicate]
- back button text does not change
- garbage collection best practices
相关文章
- 现在使用swift开发ios应用好还是swift?
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- didBeginContact:(SKPhysicsContact *)contact not in
- gcc/g++ gives me error “CreateProcess: No such fil
- Calls that precede a function's definition can
Replies above are wrong. Garbage collection has been a part of gcc's implementation of Objective-C since at least gcc 2.95. The most recent version is gcc 4.4.1.
If you are refereing to Gnustep Objective-C. I think you have to build gnustep with gc enabled and linked to some gc library. But if you do apt-get install it comes built like that.