[Mono-list] effect of -nostdlib option

Ian MacLean ianm@ActiveState.com
Tue, 04 Mar 2003 14:11:00 +0900


Ian MacLean wrote:

> 
> Hmm I think the second part is incorrect behaviour. if you add a 
> reference to another corlib then it should find the types there. If you 
> use csc.exe with the following commandline:
> 
> csc -nostdlib -r:C:\mono-0.20\install\lib\corlib.dll Class1.cs
> 
> it works fine. However with
> 
> csc -nostdlib -r:C:\mono-0.20\install\lib\corlib.dll Class1.cs it fails. 
sorry. That should be : with
mcs -nostdlib -r:C:\mono-0.20\install\lib\corlib.dll Class1.cs it fails.

Ian