Adding a new file extension to the GCC recognised list.

Patrick Noonan
Thu May 2 03:53:00 GMT 2002


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" 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

More information about the Gcc-help mailing list