This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Adding a new file extension to the GCC recognised list.
- From: "Patrick Noonan" <bosco at ashling dot com>
- To: "Gcc-Help" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 2 May 2002 11:52:16 +0100
- Subject: Adding a new file extension to the GCC recognised list.
- Reply-to: <bosco at ashling dot com>
Hello,
Does anyone know if it is possible to configure the default extensions that
gcc recognises?
For example, gcc recognises files with a .sx extension so that "gcc -c
test.sx" will invoke the C preprocessor and assembler.
However gcc does not recognise .mip (for example). Using "gcc -c test.mip"
will result in error.
Is it possible to add custom extensions to gcc and have them map to existing
ones?