Re: Cross compiling Winboard in Linux

Byrial Jensen <[email protected]>
Newsgroups gmane.comp.gnu.xboard.devel
Message-ID <[email protected]>
Den 06-01-2012 20:12, Arun Persaud wrote:
> On 01/06/2012 03:24 AM, h.g. muller wrote:
>>
>>> [hgm's summary]
>> I think the gtk brach now is a dead end, although it could be that some
>> code
>> could still be taken from there. That is really for Arun to say.
>
> yep, I meant the gtk-xt branch... sorry about the confusion. The branch
> is closely related to master (e.g. we merge every now and then). As the
> names says it used to be running gtk and xt in parallel, but John
> managed to get almost everything transferred to GTK, so that now it
> doesn't use the Xt main loop anymore. There are still a few things that
> don't work in the GTK version or haven't been ported, so it might just
> seg fault... but most features already work.
>
> The roadmap is to merge all features from XBoard and Winboard into it
> and then retire the Xt version and everything in the winboard/ directory
> and just use GTK.

I was able to build the gtk version of xboard for target mingw 
(Windows), and run it with Wine.

To do so I needed to replace some missing functions/system calls with 
do-nothing-stubs.

Status:
  - I can more or less see and use the different windows and menus.
  - I have no pieces because the version of GTK+ for Windows I can 
download from http://live.gnome.org/GTK+/Win32 is built without support 
for svg-files. I seems I have to built gtk myself to get svg-support.
  - I cannot start any engines due fork() and other system calls not 
working.

When everything is fixed it will probably be necessary to pack xboard 
for Windows with the GTK runtime files. That will make the package big. 
I have around 15 MB dll-files for GTK and GTK's depencies although maybe 
not all are used.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.