Re: [GD-Windows] distcc/ccache with MSVC
Brought to you by:
vexxed72
From: Alen L. <ale...@cr...> - 2005-03-25 12:38:48
|
Thnaks for the idea! I've made a relatively simple wrapper and it seems to work now. Had to re-route stdout, recognize /cygdrive/d/ paths that distcc/ccache sometimes pass on to the compiler and remap them into d:\ paths, and to remap the -o into /Fo. ----- Original Message ----- From: "Dr Andrew Perella" <aj...@eu...> To: <gam...@li...> Sent: Thursday, March 24, 2005 08:56 Subject: RE: [GD-Windows] distcc/ccache with MSVC > Why not just wrap cl.exe in another cl.exe that doesn't pass on stdout. > > >-----Original Message----- > >From: gam...@li... > >[mailto:gam...@li...]On Behalf Of > >Alen Ladavac > >Sent: 24 March 2005 09:31 > >To: gam...@li... > >Subject: Re: [GD-Windows] distcc/ccache with MSVC > > > > > >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 > >> > > > > > > > >------------------------------------------------------- > >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 > > > >_____________________________________________________________________ > >This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended > >recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or > >other legal liability, apart from liability which cannot be excluded under English law. > > > >This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus > >Control Centre. > > > >www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322 > > _____________________________________________________________________ > This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded under English law. > > This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. > > www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322 > > > ------------------------------------------------------- > 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 > |