[Mono-dev] Mono on Windows/x64
Michael Jerris
mike at jerris.com
Wed Apr 25 21:29:27 EDT 2007
New patch, this one confirmed to build on linux passing all tests. Builds completely on msvc and passes all but the following 3 tests:
g_shell_spawn_sync: FAILED (Status is -1)
g_shell_spawn_async_with_pipes: FAILED (2 child pid not returned)
g_convert: FAILED (Expected 24 bytes, got: NULL)
All of which still need full windows implementations.
This patch includes a combination of my work and patches from Jonathan Chambers.
Ready for review and/or commit. ( an extra run of the tests on linux would also be nice )
Mike
________________________________
From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Michael Jerris
Sent: Wednesday, April 25, 2007 3:05 AM
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Mono on Windows/x64
Fixed a few more test failures... The following are all that is left that fails, a couple of these (g_strsplit and g_file_test) I have a feeling are not msvc specific, could someone confirm if all the tests pass on linux please.
The following tests are the ones still failing:
g_strsplit: FAILED (Expected only 3 elements)
g_find_program_in_path2: FAILED (It should find 'test_eglib.exe' in the current directory.)
g_shell_spawn_sync: FAILED (Status is -1)
g_shell_spawn_async_with_pipes: FAILED (2 child pid not returned)
g_file_test: FAILED (tmp does not exist.)
g_dir_*: FAILED (4 got no error)
g_convert: FAILED (Expected 24 bytes, got: NULL)
Mike
________________________________
From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Michael Jerris
Sent: Wednesday, April 25, 2007 1:31 AM
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Mono on Windows/x64
The previous patch has been committed now. This is a follow up patch that:
1. provides more standard ifdefs for conditionally including headers. I did not do autoconf checks for header availability, how would you like that done?
2. Supply several replacement functions that were not available in msvc.
3. Provided a few windows specific implementations.
4. added building of the eglib test suite (including a getopt replacement).
5. add and/or ifdef a bunch of includes in the eglib tests.
6. resolve many warnings, mostly related to signedness or int type overflows.
7. standardized line endings to LF only.
8. change warning levels to the project files for eglib and it's tests to the max, warnings as errors, disable a few warnings.
Current status of eglib and test build is that everything compiles and links but there are some now commented incomplete windows implementations as follows:
gspawn.c:g_spawn_async_with_pipes (probably requires alternate implementation)
gspawn.c:g_spawn_command_line_sync (probably requires alternate implementation)
gunicode.c:g_convert (requires iconv or alternate implementation)
gunicode.c:g_get_charset (requires iconv or alternate implementation)
We still need to handle msvc/windows implementations for the 4 functions above so that we can run the test suite and see how much more work is to go.
For the gunicode functions, do we really need iconv, or does windows already provide the functionality needed in other api's?
Does anyone have windows api implementations for any of those 4 functions that they could provide or wish to write?
Also, attached results.txt shows the test results of the code after this patch on windows. There are still quite a few that need to get fixed.
TODO:
Test on gcc (if someone could provide feedback on the mailing list that it still builds and does not introduce any regressions I would appreciate it)
Answer to the question posed in #1 above. (I can add the checks or implement as required, just need to know how it should go)
Mike
> -----Original Message-----
> From: Miguel de Icaza [mailto:miguel at novell.com]
> Sent: Monday, April 23, 2007 4:22 PM
> To: Michael Jerris
> Cc: mono-devel-list at lists.ximian.com; Kornél Pál; Jonathan Chambers
> Subject: RE: [Mono-dev] Mono on Windows/x64
>
> Hey,
>
> > This patch is confirmed to compile clean on gcc now. Feedback?
>
> It can go in; Feel free to commit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070425/be8a59eb/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eglibmsvc2005.build.rev5.diff.gz
Type: application/x-gzip
Size: 18321 bytes
Desc: eglibmsvc2005.build.rev5.diff.gz
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070425/be8a59eb/attachment.gz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: results.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070425/be8a59eb/attachment.txt
More information about the Mono-devel-list
mailing list