From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evan Weaver Newsgroups: gmane.comp.lang.ruby.mongrel.general,gmane.comp.lang.ruby.mongrel.devel Subject: Re: [Mongrel-development] Mongrel, cross compilation, Echoe and rake-compiler Date: Sun, 26 Apr 2009 18:12:55 -0700 Message-ID: References: <71166b3b0904261732j6d5c50fay3d05fdca7f4a6b6e@mail.gmail.com> Reply-To: mongrel-users-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240840788 8258 80.91.229.12 (27 Apr 2009 13:59:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 13:59:48 +0000 (UTC) Cc: mongrel-users-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-users-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Mon Apr 27 15:59:40 2009 Return-path: Envelope-to: gclrm-mongrel-users-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=NAypW/GPUNFaAbHzTrCm5M0GoV+AO1LR6kRuRcdhjhc=; b=ktTsnP3TTi4ogjTkgdSy0FUJ7oZEDYmIvkvRD+y29oVWSuTUXhEX1Q8iSgQlk7waOa aVk3IccbqKnvNzXhFO1LmIrFgyksdw7++3vBNX1OhiHNDjIVBLfSSu2lqU5T7ku9Y0lh nK09BNaMiJrQVxA4QibfwSWZ5pT5/9Voannco= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=D7sVqIIr7V4V285gufnBcitwb4y47Z4Y7fPHLxj7Ng5G0yp/MZj4tdxwZI3sYQ2iWQ QgKu0t+RJ1d1QHN334ylid1PDFwecs3D3HVqklTOoU+9BQLSx/U4piag4HCpR3sIowr8 Oc6YY44m30PswIkQQLD5926A5+BU1FuOB+eaM= In-Reply-To: <71166b3b0904261732j6d5c50fay3d05fdca7f4a6b6e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> X-Google-Sender-Auth: 5ce088f0e1892f33 X-BeenThere: mongrel-users-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-users-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: mongrel-users-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.mongrel.general:5706 gmane.comp.lang.ruby.mongrel.devel:119 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1LyRMx-0003JS-Ls for gclrm-mongrel-users-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org; Mon, 27 Apr 2009 15:59:39 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 2F3A418580FF for ; Mon, 27 Apr 2009 09:59:39 -0400 (EDT) Received: from mail-gx0-f162.google.com (unknown [209.85.217.162]) by rubyforge.org (Postfix) with ESMTP id 7A39818580FA; Sun, 26 Apr 2009 21:13:36 -0400 (EDT) Received: by gxk6 with SMTP id 6so4273883gxk.11 for ; Sun, 26 Apr 2009 18:13:10 -0700 (PDT) Received: by 10.151.124.7 with SMTP id b7mr7769867ybn.219.1240794790779; Sun, 26 Apr 2009 18:13:10 -0700 (PDT) List-Post: I think that's a good plan. Echoe has some rudimentary cross-compilation (used for JRuby), but not for Mingw. Your way is better. My plan is as so: Gossamer + Rack launch script + some optimizations/bugfixes + Ruby 1.9 compat =3D more or less Mongrel 2.0. This puts you in a tough spot, but it's probably best to branch off Gossamer and let me forward-port whatever is missing. The 1.x branches are effectively dead, except for a Ruby 1.9 compat update (v1.1.6). I promise to get to this every weekend, and don't, so I'll stop promising. I may be able to squeeze some time out of work to spend on it. Evan On Sun, Apr 26, 2009 at 5:32 PM, Luis Lavena wrote: > Hello Guys, mainly Evan, > > With the goal to move One-Click Ruby Installer to use MinGW (GCC) > compiler, I found there is no binary for mongrel for that platform. > > Because of that, the migration for lot of folks will require install > the development toolkit, which I'm trying to avoid. > > Being the maintainer of the Windows builds of Mongrel, been wanted to > upgrade it to use rake-compiler project. > > rake-compiler has been out for a while, and several projects has been > migrated to it successfully, including ruby-ffi, johnson, nokogiri and > others. > > Now, a few questions before I invest a lot of time with mongrel repositor= y. > > I'm working over "master" at fauna repository: > > http://github.com/fauna/mongrel > > My plan is the following: > > Ensure both current and new One-Click works with Mongrel. > Ensure building binaries for it either native or cross platform works fla= wlessly > > Now, I have a few blockers: > > Dunno which branch is the proper one. last time I worked on 1.2 > improving MinGW support and 1.1.5 got out without taking those > patches. > > Echoe extension compilation is interfering with rake-compiler one, is > there a way to disable it? > > Elliot Cable left a message when I first imported rake-compiler to GitHub: > > http://github.com/luislavena/rake-compiler/commit/28e938cf837c6859197000c= c647f84f92668f0b6#comments > > Again, the goal of rake-compiler is not just simplify the compilation, > but also provide something that Echoe or Hoe doesn't: cross > compilation. > > Well, I've shared my plan, what do you guys think? > > Cheers, > -- > Luis Lavena > AREA 17 > - > Perfection in design is achieved not when there is nothing more to add, > but rather when there is nothing more to take away. > Antoine de Saint-Exup=E9ry > _______________________________________________ > Mongrel-development mailing list > Mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org > http://rubyforge.org/mailman/listinfo/mongrel-development > -- = Evan Weaver