Adding a new file extension to the GCC recognised list.

Patrick Noonan bosco@ashling.com
Thu May 2 03:53:00 GMT 2002


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?






More information about the Gcc-help mailing list