Hi,
If you haven't already seen this,
http://www.kegel.com/crosstool/curre...ool-howto.html
I'm performing the crosstool for the ARM target architecture cross-compiled in OS X. I found a few issues with the demo-arm.sh file, and have got it using a custom .dat file,
gcc-glibc_custom.dat
demo-arm.sh (edited)Code:BINUTILS_DIR=binutils-2.17 GCC_CORE_DIR=gcc-4.0.1 GCC_DIR=gcc-4.0.1 GLIBC_DIR=glibc-2.3.2 LINUX_DIR=linux-2.6.15.4 LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0 GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 GDB_DIR=gdb-6.5
I downloaded the latest binutils and XCode 2.4.1 installed gcc 4.0.1.Code:#!/bin/sh set -ex TARBALLS_DIR=$HOME/downloads RESULT_TOP=/usr/local/crosstool export TARBALLS_DIR RESULT_TOP GCC_LANGUAGES="c,c++" export GCC_LANGUAGES # Really, you should do the mkdir before running this, # and chown /opt/crosstool to yourself so you don't need to run as root. mkdir -p $RESULT_TOP # Build the toolchain. Takes a couple hours and a couple gigabytes. #eval `cat arm.dat gcc-4.1-20050709-glibc-2.3.2.dat` sh all.sh --notest eval `cat arm.dat gcc-glibc_custom.dat` sh all.sh --notest echo Done.
I tried setting,
GCC_DIR=gcc-4.1.1
...which got me the farthest I've been (over an hour of compile time) and it quit with odd error messages while working on glibc. I'm now attempting to use v4.0.1 in both and see that makes a difference. If not I'm going to look for some newer glibc files but hrm!
Any ideas?


LinkBack URL
About LinkBacks
Reply With Quote
