Hi Supreeth,
theoretically the standard C implementation of fopen(char *filename, char *mode)
“can” support BINARY and TEXT mode. This is specified here
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf, “7.19.2 Streams”
In praxis only Windows-/DOS platforms supports a BINARY ( w/ “b”) a
It would also be good, to add a REBUILD target to the makefiles,
that forces the compiler to translate all C-files from a component at once,
w/o dependency check e.g.:
REBUILD:
cl /c [additional switches] file1.c file2.c file3.c file4.c
so that the compiler itself is invoked only once
2 matches
Mail list logo