Skip to content

Commit

Permalink
Enable multilib builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
iratahack committed Apr 19, 2024
1 parent ec9c3c7 commit f078e5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions crosstool-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ tar cvfz $BASEDIR/$TARGET.tgz $TARGET


# Setup path to pickup DLL files
#export PATH=/usr/lib/gcc/$HOST/10-win32:$PATH
#cd ~/x-tools/HOST-$HOST/$TARGET/bin
#strings * | grep ".*\\.dll" | sort | uniq | xargs which 2> /dev/null | grep "mingw" | xargs -I _ cp _ .
#strings * | grep ".*\\.dll" | sort | uniq | xargs which 2> /dev/null | grep "mingw" | xargs -I _ cp _ .
export PATH=/usr/lib/gcc/$HOST/10-win32:$PATH
cd ~/x-tools/HOST-$HOST/$TARGET/bin
strings * | grep ".*\\.dll" | sort | uniq | xargs which 2> /dev/null | grep "mingw" | xargs -I _ cp _ .
strings * | grep ".*\\.dll" | sort | uniq | xargs which 2> /dev/null | grep "mingw" | xargs -I _ cp _ .

cd ~/x-tools/HOST-$HOST
echo "Creating $BASEDIR/$HOST.zip"
Expand Down
2 changes: 1 addition & 1 deletion samples/i686-w64-mingw32,m68k-elf/crosstool.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES=y
CT_ARCH_M68K=y
CT_ARCH_CPU="68000"
CT_OMIT_TARGET_VENDOR=y
CT_STATIC_TOOLCHAIN=y
CT_CANADIAN=y
CT_HOST="i686-w64-mingw32"
CT_HOST_PREFIX="i686-w64-mingw32-"
Expand All @@ -17,3 +16,4 @@ CT_COMP_TOOLS_LIBTOOL=y
CT_LOG_PROGRESS_BAR=n
CT_PREFIX_DIR_RO=n
CT_LOG_TO_FILE=n
CT_MULTILIB=y
1 change: 1 addition & 0 deletions samples/m68k-elf/crosstool.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ CT_COMP_TOOLS_AUTOMAKE=y
CT_COMP_TOOLS_LIBTOOL=y
CT_LOG_PROGRESS_BAR=n
CT_LOG_TO_FILE=n
CT_MULTILIB=y

0 comments on commit f078e5d

Please sign in to comment.