From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10465 invoked by alias); 20 May 2003 04:24:11 -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 10453 invoked from network); 20 May 2003 04:24:10 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 20 May 2003 04:24:10 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Hydn-0000AV-00 for ; Tue, 20 May 2003 06:22:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gcc@gcc.gnu.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19HydC-00008Y-00 for ; Tue, 20 May 2003 06:21:42 +0200 From: Ranjit Mathew Subject: Re: MinGW (Was: Re: PROPOSAL: Variation on an Alternate policy for obsoleting targets) Date: Tue, 20 May 2003 04:27:00 -0000 Message-ID: <3EC9ADE0.2090005@hotmail.com> References: <000001c31e67$5ef5fcf0$3c9fd783@northwood> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en In-Reply-To: <000001c31e67$5ef5fcf0$3c9fd783@northwood> Cc: mingw-users@lists.sourceforge.net X-SW-Source: 2003-05/txt/msg01832.txt.bz2 Stephan T. Lavavej wrote: > I'm trying to learn. I've managed to successfully build 3.3 on GNU/Linux, > but haven't been able to build any version of gcc on MSYS/MinGW (whether > MinGW-patched or not). > > I don't entirely understand CVS yet and I have no clue how diffs/patches > work (mechanically, not conceptually). I'm trying to learn, though. When > MinGW gcc 3.3 is released, I'll see if I can bootstrap it, and I'll report > any problems I encounter. In GCC 3.3, things aren't that bad at all for MinGW. Except for a minor glitch: http://article.gmane.org/gmane.comp.gnu.mingw.devel/561 GCC 3.3 builds out of the box (C/C++) for MinGW, and is quite usable as is. If you are willing to work on Linux (and I guess you are, since you have already compiled 3.3 for Linux), you might find this document that I'd written a while ago, useful for this purpose: http://ranjitmathew.tripod.com/phartz/gcj/bldgcj.html The two step process might seem a bit roundabout but amazingly is almost twice as fast as a native bootstrap on Windows (for C/C++/Java)! If you're not interested in GCJ (Java), leave out the "java" in "--enable-languages=c,c++,java" in the configure scripts. If you are however, do get this cross-configury patch for libgcj before you start: http://gcc.gnu.org/ml/java-patches/2003-q2/msg00111.html If you'd rather wait for the "mingw-local" patchset to also be published before you venture into this, hang on for a while longer. The "mingw-local" patchsets are published to the MinGW SF repository as soon as a MinGW GCC release is made. Hope this helps. Ranjit. -- Ranjit Mathew Email: rmathew AT hotmail DOT com Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/