From: ColdShine <col...@us...> - 2009-06-06 15:18:11
|
2009/6/6 Christian Buhtz <ex...@gm...>: > > Is there a way to teach MinGW UTF8+BOM? If gcc accepts - (a dash character) as input file name, then you can put in your makefile something like this: cat prog.c | program-that-strips-bytes 3 | gcc -c -o prog.o - where program-that-strips-bytes is probably dd, or whatever tool is capable of stripping the first n bytes from a file. Of course its command line must be adapted. Hope this helps. -- CS |