[Mono-list] makefile patch to handle non-C: drive installs

Nick Drochak ndrochak@gol.com
Tue, 24 Jul 2001 00:40:32 +0900


Hi all,

Since I installed my Win2K on what turns out to be my E: drive, the
makefiles in MCS choke when they cannot find csc.exe on the C: drive.
Luckily, there is an environment variable we can use, SYSTEMROOT, that tells
us where the "winnt" directory is.  I changed the makefiles to use this
variable and it works on my system.  Below is a (very simple) diff of the
makefile(s) in /mcs and /class:

$ diff makefile makefile.bak
1c1
< CSC=$(SYSTEMROOT)/microsoft.net/framework/v1.0.2914/csc.exe
---
> CSC=//c/winnt/microsoft.net/framework/v1.0.2914/csc.exe



Since there's no CVS yet, I cannot check this in for others to test.
Miguel, would you put it in for me?

Regards,
Nick Drochak