X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fscripts%2Fsdcc_mingw32;h=e8783b6c6dd5e9238e8cc928718d9fe30b861cc4;hb=4ef1b65d30d108c16a79cd8aa5483aac4f535262;hp=ac78f548ec068bdfedf6846e88818b047c3ed78d;hpb=14fbdef91206e1fa14b6fedf1b013cbba1021124;p=fw%2Fsdcc diff --git a/support/scripts/sdcc_mingw32 b/support/scripts/sdcc_mingw32 index ac78f548..e8783b6c 100755 --- a/support/scripts/sdcc_mingw32 +++ b/support/scripts/sdcc_mingw32 @@ -1,11 +1,11 @@ #!/bin/sh # Script to crosscompile with mingw32 -TOOLSPREFIX=/usr/local/cross-tools/i386-mingw32msvc/bin +TOOLSPREFIX=/usr/local/cross-tools/bin/i586-mingw32msvc- -export CC=$TOOLSPREFIX/gcc -export CXX=$TOOLSPREFIX/g++ -export RANLIB=$TOOLSPREFIX/ranlib -export STRIP=$TOOLSPREFIX/strip +export CC=${TOOLSPREFIX}gcc +export CXX=${TOOLSPREFIX}g++ +export RANLIB=${TOOLSPREFIX}ranlib +export STRIP=${TOOLSPREFIX}strip export SDCCCONFIGUREFLAGS=" \ --prefix=/sdcc \ @@ -17,5 +17,4 @@ sdccconf_h_dir_separator=\\\\ \ --disable-device-lib \ --host=i586-mingw32msvc --build=unknown-unknown-linux-gnu" -./configure $SDCCCONFIGUREFLAGS -make 2>&1 | tee make.log +../sdcc/configure ${SDCCCONFIGUREFLAGS} & make 2>&1 | tee make.log