Re: Cross compiling Winboard in Linux

Byrial Jensen <[email protected]>
Newsgroups gmane.comp.gnu.xboard.devel
Message-ID <[email protected]>
Den 06-01-2012 05:33, Arun Persaud skrev:

> At the moment GTK only builds on linux though. I gave it a quick try
> using the mingw toolchain on linux, but there are probably quite a few
> things that need to change, would be great, if we would make progress on
> that ;)

Things which prevent to build branch gtk-xt build for target WIN32 when 
cross compiling on Linux using minGW:

1) These types were not defined (very easy to correct):

   Dimension
   Position
   Pixel

2) These macros were not defined (very easy to correct):

   True
   False

3) These signals do not exist:

   SIGPIPE
   SIGUSR1
   SIGALRM
   SIGKILL

4) These include files do not exist:

   <pwd.h>
   <sys/ioctl.h>

5) These functions/system calls do not exist:

   getpwuid (declered in missing pwd.h)
   getpwnam (declared in missing pwd.h)
   ConsoleCreate (declared as extern void ConsoleCreate(); in backend.c)
   strndup (easy to implement/replace)
   flock
   pipe
   fork
   nice
   alarm
   wait
   kill
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.