[Mono-list] makefiles with hard coded path to csc

Nick Drochak ndrochak@gol.com
Fri, 18 Jan 2002 19:09:48 +0900


After upgrading to .NET.1.0 I realize that some places we have hard coded the path to beta2's csc.exe.

I suggest we take that out, and leave it up to the user to have the path to csc.exe in their PATH. The make files in mcs/tools and mcs/tests are the same and should be changed.  Also mcs/mcs/driver.cs has a magic string and so does mcs/tools/EnumCheck.cs

Below is a diff of mcs/mcs/makefile as an example:
Index: makefile
RCS file: /cvs/public/mcs/mcs/makefile,v
retrieving revision 1.40
diff -u -r1.40 makefile
--- makefile    2002/01/18 02:17:45     1.40
+++ makefile    2002/01/18 05:58:54
@@ -1,5 +1,4 @@
-ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
 CSCFLAGS=/nologo /debug+ /debug:full  /optimize /unsafe



Notice we don't even need that crazy ROOT thing anymore either.

I can make the changes to the makefiles and commit if this is the right thing to do.  Please advise.

Nick D.