[Mono-list] Porting mono to Solaris/SPARC

Jeffrey Stedfast fejj@ximian.com
16 Feb 2002 20:11:26 -0500


I've again ported mono to Solaris but have run into an issue I'm not
sure how to solve correctly:

Solaris doesn't seem to have EDOTDOT or ENOMEDIUM and so
mono/wrapper/genwrapper.pl fails. I've removed them from genwrapper.pl
and all builds well and good again but I'm not sure if these are needed.
If they aren't needed, perhaps we should remove them altogether? and if
they should be defined if the system defines them, how/where should I
modify the code to conditionally include them?

Another thing:

I've had to change the definition of MonoWrapperStat to have members
mst_* rather than st_* because Solaris systems (and possibly others?)
have macros for st_atime, st_mtime, and st_ctime that are defined based
on whether or not to use stat64. I assume this probably affects any C#
code that uses Wrapper.cs?

Jeff

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj@ximian.com  - www.ximian.com