[Mono-list] CSC Path Hard-Coded

Joern Eyrich Joern.Eyrich@brokat.com
Mon, 06 Aug 2001 11:59:38 +0200

Miguel de Icaza wrote:
> We are taking patches ;-)

On July 24th, Nick Drochak offered this:

Nick Drochak wrote:
> 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