X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fscripts%2Fsdcc_mingw32;h=081d51cbc0aee1424b0713a5c01fbcd2a5106bc9;hb=ae36c610fdb3dfcd4d850c6fe0bf193bd0e455db;hp=ac78f548ec068bdfedf6846e88818b047c3ed78d;hpb=14fbdef91206e1fa14b6fedf1b013cbba1021124;p=fw%2Fsdcc diff --git a/support/scripts/sdcc_mingw32 b/support/scripts/sdcc_mingw32 index ac78f548..081d51cb 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 +./configure ${SDCCCONFIGUREFLAGS} & make 2>&1 | tee make.log