Minor djgpp fixes.
This commit is contained in:
parent
acd2cfb91f
commit
b2f82b00d7
1 changed files with 30 additions and 13 deletions
|
@ -268,6 +268,23 @@ function use_toolchain() {
|
|||
|
||||
case "${PLAT}" in
|
||||
|
||||
dos)
|
||||
case "${ARCH}" in
|
||||
x86)
|
||||
TRIPLE="i586-pc-msdosdjgpp"
|
||||
;;
|
||||
esac
|
||||
echo "source ${TC_G_SCRIPT_DIR}/x-tools/djgpp/setenv"
|
||||
#echo "export PATH=\"${TC_G_SCRIPT_DIR}/x-tools/djgpp/i586-pc-msdosdjgpp/bin:${TC_G_SCRIPT_DIR}/x-tools/djgpp/bin:${TC_G_SCRIPT_DIR}/x-tools/djgpp/libexec/gcc/i586-pc-msdosdjgpp/12.2.0:${PATH}\""
|
||||
#echo "export GCC_EXE_PREFIX=\"${TC_G_SCRIPT_DIR}/x-tools/djgpp/lib/gcc\""
|
||||
#echo "export DJDIR=\"${TC_G_SCRIPT_DIR}/x-tools/djgpp/i586-pc-msdosdjgpp\""
|
||||
CROSS_OS="dos"
|
||||
CC="gcc"
|
||||
CXX="g++"
|
||||
RANLIB="ranlib"
|
||||
SUFFIX=".exe"
|
||||
;;
|
||||
|
||||
linux)
|
||||
case "${ARCH}" in
|
||||
x86)
|
||||
|
@ -452,22 +469,22 @@ if [[ ${HELP} -eq 1 ]]; then
|
|||
|
||||
For "install" mode:
|
||||
|
||||
If [architecture] and [platform] are both "all",
|
||||
everything will be installed.
|
||||
If [architecture] and [platform] are both "all",
|
||||
everything will be installed.
|
||||
|
||||
if [architecture] is "all", then all available
|
||||
architectures for the specified [platform] will
|
||||
be installed.
|
||||
if [architecture] is "all", then all available
|
||||
architectures for the specified [platform] will
|
||||
be installed.
|
||||
|
||||
NOTE: You should always install x86_64 linux
|
||||
before attempting to install other
|
||||
toolchains.
|
||||
NOTE: You should always install x86_64 linux
|
||||
before attempting to install other
|
||||
toolchains.
|
||||
|
||||
For "use" mode:
|
||||
|
||||
Souce the output of this script to set the environment
|
||||
to use the appropriate toolchain for [architecture] and
|
||||
[platform].
|
||||
Souce the output of this script to set the environment
|
||||
to use the appropriate toolchain for [architecture] and
|
||||
[platform].
|
||||
|
||||
HELP
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue