Antoni Gual Via wrote:
Hi To build a Windows app, windres from gcc is required. By default it uses the gcc preprocessor to resolve the defines, and gcc has its dependencies, so a complete Mingw install is required. A command line option in windres allows to use any other preprocessor, and using tcc's would make the thing almost selfcontained. Unfortunately tcc's preprocessor does'nt allow the extension .res for its inputs. I have a tcc I built recently from the mob using the busybox Grichka made for us poor Windows users. Which file should I check to add .res extension to the allowed inputs for the preprocessor?
See the -xc option. As in $ windres --preprocessor="tcc -E -xc -DRC_INVOKED" -O coff ... winresrc.h (needed by windows.h with RC_INVOKED) and dependencies can be found in the winapi-full-for-0.9.27 pack. -- gr
Regards Antonio
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel