Date: Wed, 29 Jul 1998 11:38:35 +0300 (IDT) From: Eli Zaretskii To: Gerhard Gruber cc: djgpp AT delorie DOT com Subject: Re: HElp During configure ....Bad command or file name In-Reply-To: <35c1b3b3.3993603@news.Austria.EU.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 28 Jul 1998, Gerhard Gruber wrote: > >You are configuring GCC for building with MSVC or with Cygwin32 tools, not > >with DJGPP. That is what configure.bat does. > > Does this mean that I can build gcc with MSVC??? The first stage of GCC can in general be built with any compiler. That is how you build GCC the first time on a machine where no previous versions of GCC are available. Stage 2 then rebuilds GCC with itself. I haven't tried to build with MSVC, so I don't know whether it is practically possible, but it isn't inconceivable. > What about DJGPP, it's the same source, isn't it? You forget the system- and compiler-specific #ifdef's. So no, it's not the same source. > What code does it produce? Windows or DOS or both? That depends on how GCC is configured, and what Binutils does it use. These are the two factors which define the output format. Recall that GCC just generates assembly, it relies on an assembler to produce machine code in the appropriate object format. Again, this is theory. I have never done that myself with MSVC (neither will I try, if it depends on me ;-).