www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/05/04:51:40

Date: Thu, 5 Feb 1998 11:49:43 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Erich H. Mueller" <ehmueller AT mail DOT hac DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: gcc.exe for C, C++, FORTRAN, Ada, and Pascal?
In-Reply-To: <34D8B025.2B49@mail.hac.com>
Message-ID: <Pine.SUN.3.91.980205114914.28596D-100000@is>
MIME-Version: 1.0

On Wed, 4 Feb 1998, Erich H. Mueller wrote:

> The source code for gcc.exe has a section for calling different
> compilers based upon source file extension.  Unfortunately, I don't have
> the resources to make the changes myself.  Does any one have a copy of
> gcc.exe compiled to work with all of the languages mentioned above? 

You don't need to have the rules compiled into gcc.exe.  You can edit
the file lib/specs to add the missing rules.  GCC reads that file and
inserts it into its database of rules before it begins the
compilation.

So you could extract all the rules you need from the various versions
of gcc.exe (by using a tool such as `strings' from Binutils), then add
them to lib/specs with a text editor.

- Raw text -


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