Re: distcc/ccache with MSVC
"Alen Ladavac" <[email protected]> Fri, 25 Mar 2005 09:06:20 -0000
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected]> To: <[email protected]> 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: [email protected] > >[mailto:[email protected]]On Behalf Of > >Alen Ladavac > >Sent: 24 March 2005 09:31 > >To: [email protected] > >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" <[email protected]> > >To: <[email protected]> > >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 > >> [email protected] > >> 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 > >[email protected] > >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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555