<div>Hi David,</div>
<div> </div>
<div>I downgraded my libtool version to 2.2.7a and got it to work! I also added $vsdir/VC/PlatformSDK/Lib to the LIB in build-ms.sh as my ws2_32.lib file is found there.</div>
<div> </div>
<div>Thanks for all your help.</div>
<div> </div>
<div>Vincent<br><br></div>
<div class="gmail_quote">On Thu, Nov 11, 2010 at 6:51 PM, David Wragg <span dir="ltr"><<a href="mailto:david@rabbitmq.com">david@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Vincent Cheong <<a href="mailto:vincentcheongst@gmail.com">vincentcheongst@gmail.com</a>> writes:<br></div>
<div class="im">> I did not get install mingw using the install script. It is a pretty up to<br>> date version (libs and compilers) that I have been using all along. I've<br>> checked my PATH there's only one mingw/bin.<br>
<br></div>Ah, I see. I'm afraid that the easiest way forward for you will be to<br>do a second temporary install of mingw using the script - you can delete<br>it as soon as the build has worked :-)<br><br>> [...]<br>
<div class="im">><br>> I've been looking at error statement again.<br>> cl : Command line error D8021 : invalid numeric argument '/Wl,-DLL'<br>> the cl command seems to be expecting a numeral after /W. Could the cl option<br>
> be /W1 or /WL instead or /Wl?<br><br></div>-Wl,-DLL is a gcc option, and cl.exe generally has a completely<br>different option syntax. Why libtool is passing that option to cl.exe,<br>I don't know. libtool's support for the MS toolchain seems to be quite<br>
weak, and I was only able to get 2.2.7a to work by patching its output.<br>I wouldn't be surprised if later versions break that support completely.<br>So at the moment, you really need 2.2.7a.<br><br>I don't know if there will be such strict dependencies on the other<br>
required mingw/msys packages. You might be able to make it work just by<br>changing your version of libtool, but I'm not sure.<br><br>Thanks for bringing this to my attention, I will clarify the build<br>instructions.<br>
<div>
<div></div>
<div class="h5"><br>David<br><br>--<br>David Wragg<br>Staff Engineer, RabbitMQ<br>SpringSource, a division of VMware<br></div></div></blockquote></div><br>