简体   繁体   中英

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

TDM bin目录中的哪些可执行文件实际上会将./configure识别为有效命令?

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM