[Mono-devel-list] CSharpCodeCompiler.cs Bug

Rafael Teixeira monoman at gmail.com
Thu Aug 19 09:49:43 EDT 2004


I'm not the one who will commit your patch, but just to help clarify
things: "--" is the "stop-processing-options" command, anything after
it is considered to be source filenames, that is so that the compiler
is able to compile sources with valid Linux paths/filenames like
"/debug" or "-r".

----- Original Message -----
From: José Alexandre Antunes Faria <jose.faria at vianw.pt>
Date: Wed, 18 Aug 2004 23:46:22 +0100
Subject: [Mono-devel-list] CSharpCodeCompiler.cs Bug
To: mono-devel-list at lists.ximian.com

 
Hi Guys... 
  
I was trying to use the CSharpCodeCompiler to compile an app that used
gtk-sharp, so I had to use the -pkg: option in CompilerOptions, so far
so good, but the thing is BuildArgs doesn't use it, so, I made this
fix:
  
 

// Added these two lines 

if(options.CompilerOptions!=null) 

args.AppendFormat("{0} ", options.CompilerOptions); 

 

// commented this one... 

//args.Append (" -- "); 

I don't know why, but I had to comment this last line, because with
it, every time I used the option it simply didn't compile, like this
it compiled quite well...

Could some one check this out and commit it to the cvs if its the case? 

Thanks guys.... 

José Faria 

  

  



-- 
Rafael "Monoman" Teixeira
---------------------------------------
Cognition is not a representation of an objectively existing world
but is a bringing forth of a world in the process of living.
-- Fritjof Capra, citing 
   Humberto Maturana and Francisco Varella's "Santiago Theory of Cognition"



More information about the Mono-devel-list mailing list