[rabbitmq-discuss] compiling rabbitmq-c under mingw
irrer at umich.edu
Fri Jul 23 20:46:59 BST 2010
Ok, that was no help at all, :)
but I got it working.
The big key is to replace all of the socket calls with Windows
compatible calls (which you probably did):
write --> sendto
read --> recvfrom
close --> closesocket
htons macro --> htons function
use MS inet_addr function
call WSAStartup before you do anything
(not sure if I listed all of them)
It seems to me that generating code on site using Python is
a little heavy handed - requires installation of Python. Simpler
would be to package code for each protocol version and then
control which was being used with #if statements. Just a suggestion.
Jim Irrer irrer at umich.edu (734) 647-4409
University of Michigan Hospital Radiation Oncology
519 W. William St. Ann Arbor, MI 48103
On Wed, Jul 14, 2010 at 6:11 PM, David Wragg <david at rabbitmq.com> wrote:
> Hi Jim,
> Jim Irrer <irrer at umich.edu> writes:
> > I know this is experimental, but I'm trying to compile the rabbitmq-c
> > under mingw on Windows.
> The work to support building rabbitmq-c under mingw still lives in a
> branch. Please checkout bug22825, and read README.windows carefully.
> David Wragg
> Staff Engineer, RabbitMQ
> SpringSource, a division of VMware
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss