1 May 2007 05:39
Re: Successfull Build of gcc on Cygwin WinXp SP2
Aaron Gray <angray <at> beeb.net>
2007-05-01 03:39:48 GMT
2007-05-01 03:39:48 GMT
Hi James, > Successfully built latest gcc on Win XP SP2 with cvs built cygwin. I was wondering whether you could help to get me to the same point please. > $ cygcheck -V > cygcheck version 1.94 > System Checker for Cygwin > Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, > Inc. > Compiled on Apr 17 2007 > > (It was actually compiled on 23/04/2007) First up I am getting cygcheck giving me :- Cygcheck version 1.90 Compiled on Jan 31 2007 How do I get a later version of Cygwin ? > $ ./g++ -v > Using built-in specs. > Target: i686-pc-cygwin > Configured with: ../configure --prefix=/cygdrive/c/beta > --enable-languages=c,c++ > Thread model: single > gcc version 4.3.0 20070424 (experimental)(Continue reading)
> Gcc has support for overriding that directory at runtime.
> Unfortunately, on Windows CE, that is not always easy.
Why, is there no concept of environment variables for Windows CE
processes? What is the real problem?
> I've patched my copy of gcc to be able to specify a different directory
> at compile-time (instead of at run time).
>
> I can cleanup and submit my patch if there's interest.
>
> Prior to that, I have a question : should this support be steered via
> parameters on the compiler command line, or from environment values ?
Don't use environment variables at compile time. It makes reproducing
problems in the field extremely difficult. We need useers to be able to
send source input plus a command line without having to further guess
their environment.
Cheers, Ben
RSS Feed