I have looked at the source, and see where the command line options for cc are being parsed and stripped. Adding the switches for msvc looks like it will be the majority of work.
Does distcc care what suffix the preprocessed source and the object files have (eg .obj instead of .o)?
Thanks,
Mike
Martin Pool wrote:
On 5 Nov 2002, Michael Santy wrote: >Hi, > >Has anyone looked into supporting MSVC with distcc? Like gcc, it is >able to produce pre-processed source (analogous to the distcc client) >and is capable of compiling pre-processed source (analogous to the >distcc server). Really, these seem to be the only two requirements to >supporting a new compiler. I'm willing to do the work, but don't quite >know where to start, and don't want to start from scratch if somebody >else has looked into it.I don't have any Windows machines at home, so all this is only speculation: Basically, why not start by trying to change the Makefile-equivalent for VC++ to call "distcc cc"? Turn up logging and see what happens. Send mail to the list with your discoveries. It may be necessary to port distcc to Mingw to get good spawn performance, but we can worry about that once it's working. Mingw is another POSIX-like layer on W32, similar to Cygwin.
_______________________________________________ distcc mailing list [EMAIL PROTECTED] http://lists.samba.org/cgi-bin/mailman/listinfo/distcc
