Wine Traffic #88 For 26�Mar�2001

By Eric Pouech and Brian Vincent

Table Of Contents

Introduction

This is the 88th release of the Wine's kernel cousin publication. It's main goal is to distribute widely what's going on around Wine (the Un*x windows emulator).

Mailing List Stats For This Week

We looked at 52 posts in 169K.

There were 22 different contributors. 9 posted more than once. 7 posted last week too.

The top posters of the week were:

1. Ports to OS/390 and Sparc Machines

21�Mar�2001�-�29�Mar�2001 (7 posts) Archive Link: "Port to OS/390 mainframe USS?"

Topics: Ports

People: Jame Robinson,�Ulrich Weigand,�

James Robinson asked whether there will "be a port of WINE to OS/390 mainframe USS? LINUX runs fine under USS, so it would seem that WINE should run there as well. Has anyone done this yet?"

Ulrich Weigand answered:

To clear up a possible misunderstanding first: Linux for S/390 does *not* run under USS or under OS/390.

OS/390 is (one of) the standard operating system(s) used on S/390 mainframes. One component of OS/390, the Unix System Services (USS), provides an environment that allows to run certain Unix applications. However, USS is not itself an operating system, just an ABI layer on top of OS/390 (somewhat similar to the POSIX subsystem of Windows NT).

Linux for S/390, on the other hand, is a true port of the Linux operating system to the S/390 hardware. It runs directly on the S/390 platform, *instead* of OS/390 or any other mainframe operating system.

This has the effect that while USS is much more integrated into the OS/390 environment, Linux on S/390 is much more similar to 'real' Unix platforms. Porting Unix or Linux applications to USS is often non-trivial (e.g. gcc does not run on USS at all), while porting to Linux on S/390 is most of the time just a recompile.

What I want to say by that is that a port of Wine to *USS* seems rather unlikely, given the difficulties I mentioned. However, a port to *Linux* on S/390 should really be possible, and some time ago I already did a proof-of-concept implementation.

Of course, a port of Wine to any non-Intel hardware means just a port of the Wine *library* at the moment, as Wine does not contain an Intel processor emulator and cannot run Windows/Intel binaries on non-Intel hardware.

Under the same subject of porting Wine, Jutta Wrag asked about Sparc support. Ulrich also answered:

I did send my fixes to Alexandre; I think the current release should build on Sparc (unless it has been broken again in the meantime -- I haven't tried for some time).

In any case, that is a port to Sparc32; Sparc64 is another issue completely (and probably much more difficult)...

2. Removal of Commandline Options

23�Mar�2001�-�24�Mar�2001 (9 posts) Archive Link: "Re: wine/ dlls/x11drv/x11drv_main.c documentation/ ..."

Topics:

People: Alexandre Julliard,�Andreas Mohr,�

Alexandre Julliard committed a patch of his which heavily modified some command line options:

An astonished Andreas Mohr asked, "Why would you consider --desktop to be "obsolete" ?"

Alexandre explained it was the start of a larger modification (to move towards 1.0), which would involve removing almost all command line options. Alexandre explained a bit his motivations:

Because with these command-line options kernel32 must know about and export information specific to x11drv.

Also there's a larger issue of mechanism vs. policy; if we want to be able to use the same set of Wine libraries for multiple usage (wine loader, Winelib apps, mp3 players loading Windows dlls, etc.) we need to move all policy decisions to the higher layers. We cannot have kernel32 enforce a specific command-line usage, since this doesn't apply in all cases.

For another instance of the same issue, see the discussion about the deferred debug trace a couple of weeks ago: we need the Wine libraries to provide the *mechanism* to display tracing and other informations, but the *policy* of when and how to switch tracing on or off must be moved to higher layers (like the debugger) instead of hardcoding a magic key sequence in user32.

(see issue #87 (?issue=87) for the details.)

Alexandre explained also that another patch would allow those options to be changed (like --managed, --desktop...) in the config file, and also on a per application basis (see issue #83 (?issue=83) for more details).

Lots of developpers felt unconfortable with the trends taken by this patch, and requested that the command line options to be still available.

One potential solution would be to run Wine from a script which would support such command line options and set the configuration files accordingly.

3. WineX on SourceForge

26�Mar�2001 (1 post) Archive Link: "TransGaming & SourceForge"

Topics: TransGaming

People: Gavriel State,�,�TransGaming

Just wanted to let everyone know that the TransGaming DirectX development is now being hosted at SourceForge. You can get updates from our live CVS tree, discuss DirectX specific issues on the 'WineX-devel' mailing list, etc. The SourceForge project page is at:

The CVSROOT for CVS is:

We're doing WineHQ merge-ins every week or two, so things should stay relatively up to date.

Currently, we're undertaking a rearchitecture of the Direct3D work, along the lines of the DDraw HAL work we've been contributing to the WineHQ tree. Basically, we're separating the glX code into the x11drv for device independance. We're also redoing the front end interfaces to start supporting D3D APIs both older and newer than D3D 7.

On the OpenGL front, we've done some work on the visual management code that solves some problems we were seeing where you couldn't get a double-buffered visual on some cards without using -desktop mode. I should be posting a patch for this back to wine-patches very soon. There are still some kinks to be worked out...

Sharon And Joy

Kernel Traffic is grateful to be developed on a computer donated by Professor Greg Benson and Professor Allan Cruse in the Department of Computer Science at the University of San Francisco. This is the same department that invented FlashMob Computing. Kernel Traffic is hosted by the generous folks at kernel.org. All pages on this site are copyright their original authors, and distributed under the terms of the GNU General Public License version 2.0.