I am newbie on realtime embedded systems and linux.Thus I wanted to make an
effort for building a crosstool. But I gave up. I won't try anymore. I decided
to use the ready one. It works fabulous. Thanks for helps. see you soon (very
soon:) ) at new topics...
--- In "j.chitte" <> wrote:
>
> --- In "ea_ebru" <ea_ebru@> wrote:
> >
> > Hi everyone,
> > I am new here. I am trying to build a crosscompiler toolchain for TS7250
> > board. I couldn't build Dan Kegel's one (crosstool), so I decided to build
> > crosstool-ng. I could build crosstool-ng, and I send binaries of "Hello
> > world" to TS7250.
> >
> > I tried ./hello and hello to run it. but it says "hello( or ./hello) is not
> > found".
> >
> > When I typed "sh ./hello" it says "Syntax error: word unexpected (expecting
> > ")")".
>
> What output would you expect as a result of feeding a binary to sh ?
>
> >
> > I checked my binaries with "file hello", it says "[hello: ELF 32-bit LSB
> > executable, ARM, version 1, statically linked, not stripped]"
> >
> > I've tried the sample binaries came with documentations, and they work.
> >
> > I think my crosstool-ng doesn't produce the correct binaries. Is there
> > anyone who built a successfull crosstool-ng (or the other ones) for TS7250?
> > Maybe I am wrong with configuration options.
> >
> > cheers,
> > Ebru
> >
>
> I have got a working toolchain with ct-ng , file command also reports the
> kernel, why does your output omit this?
>
> bash-4.0#file pcregrep
> pcregrep: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
> linked (uses shared libs), for GNU/Linux 2.6.29, not stripped
>
> I'm working EABI so you may need to adjust some settings.
>
> bash-4.0#grep -r "^[^#]" .config
> CT_LOCAL_TARBALLS_DIR="${CT_TOP_DIR}/src"
> CT_SAVE_TARBALLS=y
> CT_WORK_DIR="${CT_TOP_DIR}/targets"
> CT_PREFIX_DIR="${CT_TOP_DIR}/x-tools/${CT_TARGET}"
> CT_INSTALL_DIR="${CT_PREFIX_DIR}"
> CT_INSTALL_DIR_RO=y
> CT_USE_MIRROR=y
> CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
> CT_CONNECT_TIMEOUT=10
> CT_OVERIDE_CONFIG_GUESS_SUB=y
> CT_PARALLEL_JOBS=1
> CT_LOAD=0
> CT_NICE=0
> CT_USE_PIPES=y
> CT_LOG_EXTRA=y
> CT_LOG_LEVEL_MAX="EXTRA"
> CT_LOG_PROGRESS_BAR=y
> CT_LOG_TO_FILE=y
> CT_LOG_FILE_COMPRESS=y
> CT_ARCH="arm"
> CT_ARCH_SUPPORT_ARCH=y
> CT_ARCH_SUPPORT_CPU=y
> CT_ARCH_SUPPORT_TUNE=y
> CT_ARCH_SUPPORT_FPU=y
> CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
> CT_ARCH_DEFAULT_LE=y
> CT_ARCH_ARCH="armv4t"
> CT_ARCH_CPU=""
> CT_ARCH_TUNE=""
> CT_ARCH_FPU=""
> CT_ARCH_LE=y
> CT_ARCH_FLOAT_SW=y
> CT_TARGET_CFLAGS="-O2 -fomit-frame-pointer "
> CT_TARGET_LDFLAGS=""
> CT_ARCH_arm=y
> CT_ARCH_ARM_EABI=y
> CT_USE_SYSROOT=y
> CT_SYSROOT_DIR_PREFIX=""
> CT_SHARED_LIBS=y
> CT_TARGET_VENDOR="unknown"
> CT_TARGET_ALIAS_SED_EXPR=""
> CT_TARGET_ALIAS=""
> CT_CROSS=y
> CT_TOOLCHAIN_TYPE="cross"
> CT_BUILD=""
> CT_BUILD_PREFIX=""
> CT_BUILD_SUFFIX=""
> CT_KERNEL="linux"
> CT_KERNEL_VERSION="2.6.29.1"
> CT_KERNEL_linux=y
> CT_KERNEL_LINUX_INSTALL=y
> CT_KERNEL_LINUX_INSTALL_CHECK=y
> CT_KERNEL_V_2_6_29_1=y
> CT_KERNEL_LINUX_VERBOSITY_0=y
> CT_KERNEL_LINUX_VERBOSE_LEVEL=0
> CT_GMP_MPFR=y
> CT_GMP_MPFR_TARGET=y
> CT_GMP_V_4_2_4=y
> CT_GMP_VERSION="4.2.4"
> CT_GMP_CHECK=y
> CT_MPFR_V_2_4_1=y
> CT_MPFR_VERSION="2.4.1"
> CT_MPFR_CHECK=y
> CT_BINUTILS_VERSION="2.19.1"
> CT_BINUTILS_V_2_19_1=y
> CT_BINUTILS_EXTRA_CONFIG=""
> CT_BINUTILS_FOR_TARGET=y
> CT_BINUTILS_FOR_TARGET_IBERTY=y
> CT_BINUTILS_FOR_TARGET_BFD=y
> CT_CC="gcc"
> CT_CC_VERSION="4.3.2"
> CT_CC_gcc=y
> CT_CC_V_4_3_2=y
> CT_CC_GCC_4_3_or_later=y
> CT_CC_CXA_ATEXIT=y
> CT_CC_SJLJ_EXCEPTIONS_DONT_USE=y
> CT_CC_CORE_EXTRA_CONFIG=""
> CT_CC_EXTRA_CONFIG=""
> CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
> CT_CC_BUGURL=""
> CT_CC_SUPPORT_CXX=y
> CT_CC_SUPPORT_FORTRAN=y
> CT_CC_SUPPORT_JAVA=y
> CT_CC_SUPPORT_ADA=y
> CT_CC_SUPPORT_OBJC=y
> CT_CC_SUPPORT_OBJCXX=y
> CT_CC_LANG_CXX=y
> CT_LIBC="glibc"
> CT_LIBC_VERSION="2.9"
> CT_LIBC_glibc=y
> CT_LIBC_V_2_9=y
> CT_LIBC_GLIBC_CVS=y
> CT_LIBC_GLIBC_CVS_date="2009-03-29"
> CT_LIBC_GLIBC_EXTRA_CONFIG=""
> CT_LIBC_GLIBC_CONFIGPARMS=""
> CT_LIBC_GLIBC_EXTRA_CFLAGS=""
> CT_LIBC_EXTRA_CC_ARGS=""
> CT_LIBC_GLIBC_USE_PORTS=y
> CT_LIBC_ADDONS_LIST=""
> CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
> CT_LIBC_GLIBC_MIN_KERNEL="2.6.29.1"
> CT_LIBC_SUPPORT_NPTL=y
> CT_LIBC_SUPPORT_LINUXTHREADS=y
> CT_THREADS="nptl"
> CT_THREADS_NPTL=y
> CT_TOOL_libelf=y
> CT_LIBELF_V_0_8_10=y
> CT_LIBELF_VERSION="0.8.10"
> CT_TOOL_sstrip=y
> CT_SSTRIP_BUILDROOT=y
> CT_SSTRIP_FROM="buildroot"
> CT_DEBUG_dmalloc=y
> CT_DMALLOC_V_5_5_2=y
> CT_DMALLOC_VERSION="5.5.2"
> CT_DEBUG_duma=y
> CT_DUMA_A=y
> CT_DUMA_SO=y
> CT_DUMA_V_2_5_14=y
> CT_DUMA_VERSION="2_5_14"
> CT_DEBUG_gdb=y
> CT_GDB_CROSS=y
> CT_GDB_NATIVE=y
> CT_GDB_NATIVE_USE_GMP_MPFR=y
> CT_GDB_GDBSERVER=y
> CT_GDB_GDBSERVER_STATIC=y
> CT_GDB_V_6_8=y
> CT_GDB_VERSION="6.8"
> CT_NCURSES_V_5_7=y
> CT_NCURSES_VERSION="5.7"
> CT_DEBUG_ltrace=y
> CT_LTRACE_V_0_5=y
> CT_LTRACE_VERSION="0.5"
> CT_DEBUG_strace=y
> CT_STRACE_V_4_5_17=y
> CT_STRACE_VERSION="4.5.17"
>
>
> HTH
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|