cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/29/04:38:42

Date: Wed, 29 Jul 1998 11:38:35 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Gerhard Gruber <sparhawk AT eunet DOT at>
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: <Pine.SUN.3.91.980729113814.8425L-100000@is>
MIME-Version: 1.0

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 ;-).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019