BenGrasset91
BenGrasset91

Reputation: 75

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

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

Upvotes: -2

Views: 937

Answers (2)

Eugene Sh.
Eugene Sh.

Reputation: 18331

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

Upvotes: 1

wallyk
wallyk

Reputation: 57774

./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.

Upvotes: 1

Related Questions