From: Ilias Lazaridis Date: 2005-05-13T00:10:01+09:00 Subject: Re: [THIN] - Need to reduce Ruby Sources to the Minimal Nikolai Weibull wrote: > Ilias Lazaridis, May 12: > >>Pit Capitain wrote: > >>>When building Ruby, one of the first things created is a "miniruby" >>>executable, which is used for the rest of the building process. Look >>>into the Makefile of the Ruby source distribution. > >>very complicated those makefiles. > >>How can I make a makefile more 'human-readable', possibly with a >>special editor? (on windows). > > Actually, this is a rather simple Makefile and it���s simple to > understand, if one���s familiar with how Makefiles - especially ones using > autoconf - are written. If you aren���t familiar with how Makefiles are > written or how autoconf works, I suggest you read the respective > manuals, which can be found on the GNU manuals web page��, before > you continue. This tool poduces terrible make-files, thus it's not of intrest to. I will take another path to isolate the ruby subsystems, most possibly in a way that others can benefit from this, too (simpler teach-in). > Anyway, to answer your question, and to dismiss Pit���s suggestion as a > non-answer to your question (no offence meant), the miniruby executable > depends on all the .c files in the Ruby distribution. I don���t have a > suggestion on where to start, but I���m guessing that object.c, parse.c, > ruby.c, and st.c would be good places to do so, ok, thanks for the info. > nikolai > > ----- > �� http://www.gnu.org/manual/manual.html . -- http://lazaridis.com