This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Adding a new file extension to the GCC recognised list.


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?





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]