[Mono-winforms-list] SWF/Wine How ?

Alexandre Pigolkine pigolkine@gmx.de
22 Mar 2003 16:37:09 +0100


I can suggest the following way:
(I specify the folders as they are at my PC and only to be a 
bit more specific in description)

1. Compile and install Wine version of GC created by John Sohn:
- complete archive
http://www.geocities.com/john_sohn/gc6.1-wine.tar.gz or
http://www.geocities.com/pigolkine/gc6.1-wine.tar.gz

- patch to regular GC version from Mono download page:
http://www.geocities.com/pigolkine/gc_wine_patch.zip

>Running the ./configure;make;make install on this project will then
>install the Boehm GC WineLib DLL into the Wine environment.

2. Compile monostub and monowinehooks from CVS and
copy monowinehooks.so to Mono library folder (/usr/local/lib)

3. copy runwine to Mono binary folder (/usr/local/bin)

4. check the /etc/mono/config file to have mappings:

<dllmap dll="user32.dll" target="user32.dll.so" />
<dllmap dll="kernel32.dll" target="kernel32.dll.so" />
<dllmap dll="gdi32.dll" target="gdi32.dll.so" />
<dllmap dll="shell32.dll" target="shell32.dll.so" />
<dllmap dll="comctl32.dll" target="comctl32.dll.so" />

or use the method of Mike Hearn: 

for f in *.dll.so; do ln -s $f lib$f;

in Wine library folder (/usr/local/lib/wine)

5. copy monostub.exe.so to the folder with your application

6. export LD_LIBRARY_PATH=. and runwine <your_app_name_here>

I hope that this is complete description.

Alexandre Pigolkine


On Sat, 2003-03-22 at 11:53, Marco Ridoni wrote:
> I somehow got lost regarding the last developments of SWF/Wine/GC (BTW: 
> Excellent work!) . So the question is very simple: how do I build a working 
> version of SWF (with GC enabled and able to work with Wine, including all the 
> necessary hooks) from the current CVS tree?
> 
> Thx
> 
> Marco Ridoni
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>