public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Sheryl Canter" <sheryl@permutations.com>
To: "Philip Walford" <philip_walford@yahoo.com.au>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: need help compiling for Windows
Date: Wed, 08 Oct 2003 05:26:00 -0000	[thread overview]
Message-ID: <00bd01c38d5c$b1083a80$6401a8c0@tpa21p> (raw)
In-Reply-To: <1065590184.1768.37.camel@cosmo>

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" <philip_walford@yahoo.com.au>
To: "Sheryl Canter" <sheryl@permutations.com>
Cc: <gcc-help@gcc.gnu.org>
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.

  reply	other threads:[~2003-10-08  5:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 13:15 cross compiling question Sheryl Canter
2003-10-08  2:27 ` need help compiling for Windows Sheryl Canter
2003-10-08  4:52   ` Sheryl Canter
2003-10-08  5:16   ` Philip Walford
2003-10-08  5:26     ` Sheryl Canter [this message]
2003-10-08 13:36   ` Sheryl Canter
2003-10-08 16:08     ` need help compiling gcc " Sheryl Canter
2003-10-08 21:15       ` Sheryl Canter
2003-10-08 22:38         ` Sheryl Canter
2003-10-09 14:26           ` Andy Howell
2003-10-09 15:20             ` Sheryl Canter
2003-10-09 15:23           ` Sheryl Canter
2003-10-09 18:48             ` Sheryl Canter
2003-10-09 21:53               ` Sheryl Canter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00bd01c38d5c$b1083a80$6401a8c0@tpa21p' \
    --to=sheryl@permutations.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=philip_walford@yahoo.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).