Hi All, I'm testing hbmk2 with real life, large project, hundreds of input files.
I've run into a problem where the final link phase (using gcc) returns with error 1 (using mingw), but there is no actual mingw error (iow the command line is correct). If I copy out the full command line, it's about 13500 chars long and when executed from a .bat file, I'm getting 'The input line is too long.'. It cannot handle more than about 8192 chars. Now, what is interesting is that I *am* able to build this project using GNU Make, with an even slightly longer command line (~14600 chars). What method may GNU Make be using that it works? What is the way to push large command lines through hb_run() on Windows. My guess (which is confirmed by peeking into system() RTL source code, is that it uses the shell to execute the command, which has the same limitation as .bat files obviously). Can we replace system() with something else? Or can I replace hb_run() with some other, existing method? And my final question is: what is the way to use a response file with gcc (mingw/cygwin)? [ my former research was fruitless. ] Brgds, Viktor
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
