These five patches enable libssh2 to be cross-compiled from a Fedora
Linux system to Windows using Fedora's new MinGW cross-compiler:
https://fedoraproject.org/wiki/MinGW
After applying these patches, you can cross-compile from a Fedora
system using:
autoreconf
mingw32-configure --enable-sha
Need to add 'AC_LIBTOOL_WIN32_DLL' _before_ 'AC_PROG_LIBTOOL' to
persuade libtool that it is safe to build a Windows DLL.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 O
Richard W.M. Jones wrote:
> These five patches enable libssh2 to be cross-compiled from a
> Fedora Linux system to Windows using Fedora's new MinGW
> cross-compiler:
They look fine. I would also like them to get committed.
Acked-by: Peter Stuge <[EMAIL PROTECTED]>
---
The example/simple/config.h{,in} header file isn't needed, it
duplicates what is already in libssh2_config.h, it breaks autoheader,
and it isn't rebuilt correctly when configure.ac changes. This patch
removes the file completely.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://e
The WINSOCK_VERSION macro is defined centrally and passed to all
instances of WSAStartup. However for the example programs the version
of winsock declared isn't very important (as long as it's >= 2.0) and
it's not likely you'd ever want to change it.
Because this complicates cross-compiling vs.
On Mon, 10 Nov 2008, Richard W.M. Jones wrote:
> The WINSOCK_VERSION macro is defined centrally and passed to all instances
> of WSAStartup. However for the example programs the version of winsock
> declared isn't very important (as long as it's >= 2.0) and it's not likely
> you'd ever want to
This patch implements non-blocking sockets for Windows in the example
programs, meaning they can now be compiled under Windows.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitorin
Currently Windows builds use a separate header file in the win32
subdirectory. This patch pulls the important bits out of that header
file into the main "libssh2_priv.h" header file. The extras here are
to check for and use the windows headers, and the implementation of
iovec/writev.
Of course
> I applied all parts that were successfully merged, and there was only one
> part that wasn't clear to me at a quick glance how I should edit it so the
> changes to "win32/libssh2_config.h" were not committed.
>
> Can you please give the current CVS a check and see how that patch is to be
> appli
labb
configure: autobuild timestamp... 20081110-223629
checking host system type... (cached) i586-pc-mingw32msvc
checking for style of include used by make... GNU
checking for i586-mingw32msvc-gcc... i586-mingw32msvc-gcc
checking for C compiler default output file name... a.exe
checking whether the C compil
Daniel Stenberg wrote:
> Unfortunately I can't say the same about doing the build with the
> Debian mingw compiler.
..
> i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I../../include -I../src
> -I/home/dast/src/win32/include -Os -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200
> -I/usr/include -MT channel.lo -
On Mon, Nov 10, 2008 at 11:08:30PM +0100, Peter Stuge wrote:
> Daniel Stenberg wrote:
> > i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I../../include -I../src
> > -I/home/dast/src/win32/include -Os -DLIBSSH2_WIN32 -DWINSOCK_VERSION=0x0200
> > -I/usr/include -MT channel.lo -MD -MP -MF .deps/channel.Tpo
12 matches
Mail list logo