Re: [GD-Windows] distcc/ccache with MSVC
Brought to you by:
vexxed72
From: Alen L. <ale...@cr...> - 2005-03-24 08:31:21
|
Kind of speaking to myself, but.... I've found what is the problem here: > Btw, interestingly enough, cl.exe version 7.1 happily understands -E and -c. > Still, no luck even if using it directly(I.e. ccache cl.exe -c hello.c). It > produces output, but doesn't go through cache. Seems like it would work if cl.exe wasn't printing to stdout. Ccache logs "Compiler produced stdout" and refuses to cache the result. Can't find how to disable the "feature" of cl.exe that it prints the name of the source it compiles. :/ ----- Original Message ----- From: "Alen Ladavac" <ale...@cr...> To: <gam...@li...> Sent: Thursday, March 24, 2005 08:09 Subject: [GD-Windows] distcc/ccache with MSVC > Hi all, > > Has anyone had success with using distcc and/or ccache with MSVC compilers. > We are targeting .NET2003, what would be MSVC7.1, but any experience or > suggestions even with the older versions would help. > > So far, I have managed to extract distcc and ccache from cygwin and download > wrapmsvc.exe, from the Coin3D project. Allegedly, wrapmsvc.exe is supposed > to convert gcc-style parameters to msvc-style and call cl.exe. It seems to > do so, but when used with distcc/ccache, it spews something like this: > > D:\Work\Temp\ccachetest>ccache wrapmsvc -c hello.c > hello.c > /cygdrive/c/utility/wrapmsvc ERROR: unknown option > "d:\Temp\ccache/tmp.stdout.aragorn.1644.i" > > Btw, interestingly enough, cl.exe version 7.1 happily understands -E and -c. > Still, no luck even if using it directly(I.e. ccache cl.exe -c hello.c). It > produces output, but doesn't go through cache. > > Any ideas? > > Thanks, > Alen > > > > ------------------------------------------------------- > This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 > Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows > Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register > by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |