How do I execute a standard GCC "configure" script with the TDM64-GCC toolchain?

850 views Asked by At

Which of the executables in the TDM bin directory will actually recognize ./configure as a valid command?

2

There are 2 answers

0
wallyk On

./configure is a shell script. It will be compatible with bash, sh, and maybe csh. Probably the first line in it is

 #!/bin/sh

or

 #!/bin/bash

If you are not on Linux or Unix, look for a configure script specifically for your operating system. Not all tools support non-Unix environments.

0
Eugene Sh. On

First thing you should read the INSTALL or README file included with the sources. Usually they describe all of the available parameters for the ./configure script (which is not "standard GCC", but specific to the project). For example for the strace project (picked it randomly, as I've cross-compiled it recently), if you want to cross-compile it with your tdm64-whatever-gcc toolchain, you have to specify it in the host parameter:

./configure --host=tdm64-whatever