[Mono-list] Mono and SFU

Paolo Molaro lupus@ximian.com
Wed, 28 Jan 2004 16:12:15 +0100

On 01/28/04 Rohit Sharma (Mahindra British Telecom) wrote:
> There is no definition of tm_gmtoff in SFU's time.h... to give a shot
> porting you can comment out the code tm.tm_gmtoff=1 from the configure
> file.
> checking for tm_gmtoff in struct tm... yes --->  may break the
> dependency though later some time.

On windows that configure check should not be reached.
You should get a warning like:
	*** Please add $host to configure.in checks!
Where $host is the platform ident the script figures out it's running
under: you should patch configure.in to support it and make it set
platform_win32=yes in that case.
SFU, just like cygwin, should be used only to handle the build
(configure, make, gcc etc.), not as the execution environment.
For the same reason, I think it would be even easier if some windows
programmer set up a makefile or project file or whatever they use with
common compiler on windows so that neither cygwin nor SFU are needed.
The makefiles in mono change rarely enough that updating such file once
in a while would not be a problem and it would spare some of the pain
for many windows programmers, I guess.


lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better