compiling Win64 bit library using MingW64 compiled libCurl - windows

I need 64 bit windows library for my 64 bit library. I am not able to find any 64 bit libcurl from the libcurl community. They only provide 64 bit in MingW64 or CygWin.
My problem is I dont if I can use 64 bit libCurl compiled in MingW or CygWin in windows or not? if it can be used, how can I do it?
Is there a way I can compile my own 64 bit Windows version? Or Has any one in past tried it?
I am referring:- http://curl.haxx.se/download.html

I am having this issue too, but I did seem to get the x64 libcurl. I downloaded the 64bit curl and from extracting it and looking through the curl files found the libcurl. Looking at the documentation in curl-7.43.0 => winbuild => build.windows helped me set the "target architecture" to x64. Then somewhere in the curl directory is the libcurl.lib they use and you can just copy paste that.
Note:
Libcurl wasn't compiling correctly for me. Updating the Windows SDK fixed this on my Virtual Machine.

Related

I Need to install sdl 1.2.15 in mingw (Windows 64bit)

Is there a way to install the old sdl 1.2.15 in mingw on Windows 10 for 64 bit. Everything I find is either only for 32 bit or for 64 bit but only for linux. I also need to install sdl gfx and sdl ttf.
SDL 1.2.15 builds fine under MSYS2 using ./configure and make.
Or you can just get the MSYS2 package (see https://packages.msys2.org/package/mingw-w64-x86_64-SDL) using pacman.

C:\cygwin64\bin does not have gcc.exe, g++.exe

I am using Mingw with code:blocks for years but now I need to to use cygwin64 with code blocks.
So I installed cygwin64 (for 64-bit windows) and the folder C:\cygwin64\bin does not have gcc.exe or g++.exe, while I installed them along with other packages indicated here (NOTE: I do not know if the command prompt runs the gcc/g++ from mingw or from cygwin?)
I do not know if the gcc.exe or g++.exe did not get installed because i also have mingw.
There are many youtube tutorials for this, but they all download the 32-bit version of cygwin. I would like to use the 64-bit. Has anyone done this?
Note that i followed the code:blocks wiki on how to install cygwin, but it does not say whether I need to install the 32 or 64-bit, and there are many points where it says " add [Cygwin]\usr\X11R6\bin (if required)" and ""-3" may need to be changed to "-4"". Unclear documentation!
the gcc compiler is included in the gcc-core package
$ cygcheck -p bin/gcc
Found 10 matches for bin/gcc
gcc-core-10.2.0-1 - gcc-core: GNU Compiler Collection (C, OpenMP)
...
This is valid for both 32bit and 64bit versions of Cygwin.
Fixed it by uninstalling the cygwin64 altogether, and I installed the cygwin 32-bit version. Tutorials on how to install 32-bit version can be found here and here This also installed gcc.exe, g++.exe files in the C:\cygwin\bin folder.
With compiler settings:

Is it possible to get autotools for a 64bit Windows 10

I am trying to build an old program and have to do it on windows. In the build instructions i am required to use autoreconf and therefore i need to have autotools.
I have tried searching for it for a while and installing cygwin or gnuWin32 but I have come to a conclusion that those bins only work for a 32 bit operating system.Is there any way I can get those binaries for a 64 bit system?

mDNSResponder compilation on MinGW

I am trying to build mDNSResponder on MinGW for a very important project. I have MinGW installed and I've downloaded the latest version of mDNSResponder from Apple's site. There doesn't seem to be any way to build for MinGW. Also, it appears to require pthreads in order to build
I also found the Bonjour SDK, but it seems like it only has MSVC compatible libraries in it and when I try to use reimp in MinGW to convert them to DLLs I get the "invalid or corrupt library" error back. Presumably this is because MS changes it's name mangling scheme on occasion.
Any help at all would be appreciated!
Greg

Trying to compile libgcrypt 1.5.0 with MinGW32 on Windows 7

I have attempted compiling libgcrypt 1.5.0 with MinGW32 on Windows 7 to no avail. I have already installed the GCC C/C++ compiler and binutils as part of MinGW32, but when I enter autogen.sh --build-w32 it tells me that there is no cross compiler kit installed...?
Despite searching around for answers, I still do not have a clue as to what is going on. How on earth do you compile libgcrypt with MinGW32? And why is it so stupidly difficult? Most standard libs usually provide a Visual Studio project, but the only Visual Studio project I can find for libgcrypt is extremely dated (1.2.2).
The --build-w32 switch is for compiling for Windows on Linux. The readme doesn't mention compiling for Windows on Windows.
I would say try autogen.sh with no arguments and hope it works.
If that doesn't work, install Linux I guess. :/

Resources