Mail Archives: djgpp/1998/02/05/04:51:40
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 -