Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The equivalent of ./configure in Windows?

What is the equivalent of ./configure in Windows?

Sometimes I download a C/C++ library and when I use the make it, it says "use ./configure" but obviously ./configure can only be used on a Linux machine and the libraries don't usually have instructions for compiling on Windows (although they do support Windows, they don't provide instructions).

For example, the library wxSVG says it works on Windows, but when I download it I don't see any instructions for compiling on Windows, and I only Linux files for configuring it.

like image 864
Brad Avatar asked Nov 14 '10 21:11

Brad


People also ask

What is Windows configure command?

./configure is a script that comes with the source you have downloaded. You will use it the same on windows as you do on any other operating system. Unfortunately, you will need a posix-like shell to run it. A good option for that is to use mingw or cygwin.

What is the configure command?

configure is normally a (generated) shell script which is packaged in Unix-based applications and is used to detect certain machine settings and set up needed files for make to do its job. Look for a configure. bat or a file called configure in the QT directory and run it.

How to get System Configuration from command Prompt?

Enter cmd and press Enter to open the Command Prompt window. Type the command line systeminfo and press Enter. Your computer will show you all the specs for your system — just scroll through the results to find what you need.

What configure does in Linux?

configure is a script that is generally provided with the source of most standardized type Linux packages and contains code that will "patch" and localize the source distribution so that it will compile and load on your local Linux system.


Video Answer


1 Answers

I just faced with the same issue and here is what I did,

I first installed MinGw using the installation manager (with msys base included). Then I go to C:\MinGW\msys\1.0\ folder in my pc, where msys.bat (to evoke the MinGW shell) and run it. Then on that bash screen, I navigated to the folder that I wanted to install initially. After that, using "./configure" and "make" worked just fine.

like image 144
patti_jane Avatar answered Oct 05 '22 11:10

patti_jane