[Mono-list] CSC Path Hard-Coded
Nick Drochak
ndrochak@gol.com
Wed, 8 Aug 2001 11:04:18 +0900
All,
Well, now I do have CVS access and I've updated the makefiles with my suggestion. It's works for windows, but of course this won't be good enough for making on Linux. However, there is no csc.exe equivalent yet for Linux, so I guess we worry about it when the time comes.
If you get the latest snapshot, or update from CVS you should get these changes.
Note to Miguel: The compiler, driver.cs I think, still has a hard coded path to C:. I'll post a bug to remind you.
Enjoy,
Nick
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?