From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22854 invoked by alias); 8 Oct 2003 05:26:35 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 22845 invoked from network); 8 Oct 2003 05:26:34 -0000 Received: from unknown (HELO qbert.vosn.net) (205.214.76.4) by sources.redhat.com with SMTP; 8 Oct 2003 05:26:34 -0000 Received: from mail.svcable.net ([67.28.116.50] helo=tpa21p) by qbert.vosn.net with asmtp (Exim 4.24) id 1A76qP-0000VF-Mv; Tue, 07 Oct 2003 23:26:42 -0600 Message-ID: <00bd01c38d5c$b1083a80$6401a8c0@tpa21p> From: "Sheryl Canter" To: "Philip Walford" Cc: References: <006601c38cd5$0363f130$ad036c42@tpa21p> <007901c38d43$b5ed2a10$6401a8c0@tpa21p> <1065590184.1768.37.camel@cosmo> Subject: Re: need help compiling for Windows Date: Wed, 08 Oct 2003 05:26:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - qbert.vosn.net X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - permutations.com X-SW-Source: 2003-10/txt/msg00105.txt.bz2 Thanks for the suggestion, but it's not the answer. I'm now using MSYS because it's more straightforward, but I can't get that to work either. In my profile file, I have this line: CC=gcc CXX=gcc This seems to be correct because when I type just $CC on a line in MSys it lists the correct file: $ $CC gcc.exe: no input files I also have my mingw directory correctly bound to MSYS in fstab: C:/mingw /mingw The directory /c/mingw/bin is in my path. When I try to configure gcc, I get this: Administrator@TPA21P /c/gcc-objdir $ c:/Software/gcc/gcc-3.3.1/configure --prefix=c:/gcc-3.3.1 --with-local-prefi x =c:/gcc/3.3.1 Configuring for a i686-pc-mingw32 host. *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava (Any other directories should still work fine.) Created "Makefile" in /c/gcc-objdir using "mh-frag" c:/Software/gcc/gcc-3.3.1/configure: c:mingwbingcc.exe: command not found *** The command 'c:mingwbingcc.exe -o conftest -g conftest.c' failed. *** You must set the environment variable CC to a working compiler. I'm at my wits end over this. I've been at it all day and all evening. It's nearly 2am. - Sheryl ----- Original Message ----- From: "Philip Walford" To: "Sheryl Canter" Cc: Sent: Wednesday, October 08, 2003 1:16 AM Subject: Re: need help compiling for Windows On Wed, 2003-10-08 at 12:27, Sheryl Canter wrote: > I've been trying all day to compile GCC for Windows, and I just can't do it. > I'm using the MinGW compiler as a boot compiler and cygwin for the > environment. I added c:\mingw\bin to the path, but I keep getting this error > message: You said you're using cygwin? Then you need to translate your paths to use '/' rather than '\'. Since cygwin is unix-like, '\x' is treated as a way of escaping 'x'. To include a '\' literally, you need '\\'. Philip.