From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23045 invoked by alias); 9 Dec 2004 09:31:52 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 22650 invoked from network); 9 Dec 2004 09:31:41 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sourceware.org with SMTP; 9 Dec 2004 09:31:41 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id iB99dTmm028145 for ; Thu, 9 Dec 2004 01:39:29 -0800 (PST) Received: from relay4.apple.com (relay4.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.3.17) with ESMTP id ; Thu, 9 Dec 2004 01:32:49 -0800 Received: from apple.com (vpn0priv-51.apple.com [17.219.200.51]) by relay4.apple.com (8.12.11/8.12.11) with ESMTP id iB99VciH011515; Thu, 9 Dec 2004 01:31:38 -0800 (PST) Date: Thu, 09 Dec 2004 09:31:00 -0000 Subject: Re: Multiple (serialized) messages in Objective-C Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) Cc: gcc@gcc.gnu.org To: Pupeno From: Mike Stump In-Reply-To: <200412082337.43281.pupeno@pupeno.com> Message-Id: <1F8058E4-49C5-11D9-A88B-003065BDF310@apple.com> Content-Transfer-Encoding: 7bit X-SW-Source: 2004-12/txt/msg00320.txt.bz2 On Wednesday, December 8, 2004, at 06:37 PM, Pupeno wrote: > Je Merkredo Decembro 1 2004 21:07, Pupeno skribis: >> I'm learning Objective-C (after having worked a lot of time with C >> and C++) and I've found it doesn't have a way to send various >> messages to the same object so, I wanted to implement it. I don't >> know how capable of that I am, but if I don't try, I'll never will. >> I've never even read gcc's source code... being that it's so big and >> that I >> have never worked in any kind of compiler, I bet that I will totally >> lost. >> So, can anyone give me some kind a guidance in this task ? gcc is not best suited for people that need guidance. Works better for self starters that just jump right in, find the code they are interested in, and just make it do what they want. Helps to already know gdb, to have read the relevant parts of the compiler documentation including gcc/doc/*.texi as well as gcc/*.[ch], gcc/*/*.[ch] and friends, know what yacc/make/sh/autoconf/automake/libtool/dejagnu/expect/tcl/awk is and how they work... :-) >> I really want to do, but I don't think I can do it alone (I wouldn't >> even know how to install gcc make install, and this is covered in the documentation. We shy away from helping anyone that doesn't read the documentation on this list. make install is pretty basic. If you need help with that, then you'll want to read large swaths of our docs first and play around a bit to get a feel for it. >> and test it without install it for my whole system, This too is covered in the docs. >> or in which branch of gcc I should work). As is this. So, if you are serious, check out the web site, find the getting gcc source documentation, get the source, read it, find the parts you are interested in most, read them, build it up, install it, run the testsuite, fire up gdb, set a break point near where you want, watch what the compiler does... and then change it to do something fun, compile it up and see if it does... :-) You can try and add a builtin that does what you want, and then add the syntax of your choice, or maybe you want to accept the syntax first, and then build it up. If you you discover you don't have sh/make/cc, then you'll want to go explore how to get those things... Those types of questions aren't suitable for this list. This list is for the type of questions like, I'm trying to use objc_cons_method, but the second argument is just too cryptic and the documention is lacking, how do I create one of those?