From: David Y. <dav...@in...> - 2011-02-17 16:04:27
|
With this patch, MSCorelibWrapper.cs uses the namespace AccessControl. It is implemented in the version 2.0 of the Mono library. If you followed the indications of the wiki for building cli-be, you may have configured it to use mcs (version of mono compiler using 1.0 libraries). Now we must switch to gmcs (the version using 2.0 libraries), thus we must reconfigure the compiler exporting MCS as gmcs (I guess that including the flag --with-mcs=gmcs in the configuration line may have the same effect). I will try to update the wiki. ----- Mail original ----- De: "David Yuste" <dav...@in...> À: gcc...@li... Envoyé: Lundi 14 Février 2011 14:45:52 Objet: [Gcc4cli-devel] CLI-BE (rev 170127): more functionality in libstd::stat() This patch (committed as revision 170127) provides more functionality to libstd::stat. New fields in 'struct stat' have been added. New core functions: file_lastaccess_sutc, file_lastwrite_sutc, file_filecreation_sutc, file_mode_flags, file_uid, file_gid Implementation in MSCorelibWrapper (-> MSCorelibWrapper.dll): file_filecreation_sutc() tries to behave as 'struct stat::st_ctime', but it is not exactly the same. st_ctime is the time of the last change of status (mode, owner, etc.), while file_filecreation_sutc() returns creation time. This difference arises from .NET design. file_mode_flags() is only a partial approximation. I did my best with the permits in .NET, but there is not a perfect match. file_uid() and file_gid() returns 0 Implementation in __host.c (-> optimized MSCorelibWrapper.dll, libstd.so): Each core function uses a call to the host 'stat()' in order to get the requested value (may be some kind of caching implementation could improve this) Affected benchmarks: 164.gzip ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Gcc4cli-devel mailing list Gcc...@li... https://lists.sourceforge.net/lists/listinfo/gcc4cli-devel |