[Mono-list] Makefile path to csc.exe

Nick Drochak ndrochak@gol.com
Thu, 9 Aug 2001 00:15:25 +0900


All,

The saga continues...Miguel's W2K server box didn't like my solution to the
hard-coded path to csc.exe.  Probably others would have the same problem, so
he rolled it back.

Not to be outwitted by a measly little makefile, I came up with another
solution.  Before I get too CVS slap-happy and break the compile, I offer
this patch for review:

Thanks to Miguel for the hint to the solution he gave me off-list.

Index: makefile
===================================================================
RCS file: /cvs/public/mcs/mcs/makefile,v
retrieving revision 1.13
diff -u -r1.13 makefile
--- makefile    2001/08/08 08:15:23     1.13
+++ makefile    2001/08/08 15:06:40
@@ -1,4 +1,5 @@
-CSC=//c/WINNT/microsoft.net/framework/v1.0.2914/csc.exe
+ROOT=//$(subst :\,/,$(SYSTEMROOT))
+CSC=$(ROOT)/microsoft.net/framework/v1.0.2914/csc.exe
 CSCFLAGS=/nologo /debug+ /debug:full

 VERSION=0.13