EmbLogic's Blog

Toolchain help!!!

Hi,

I am working on cross development toolchain. I used packages binutils-2.10.1, gcc-2.95.3, glibc-2.2.4, glibc-linux-threads-2.2.4, kernel-2.4.17. (most common packages for building toolchain)

I followed book “Building Embedded Linux Systems (OReilly 2003) – chapter 4″ and finally i am able to compile all the above packages without any errors and did everything till section 4.2.7.

I was not able to understand section 4.2.8 (something related to makefile), is it important ? and how can i check whether I have successfully build a working toolchain.

One more thing, I wrote a hello world program, and compiled it with
#arm-linux-gcc 1.c
it created a a.out file without any errors. Does this signifies that i have successfully build a working toolchain ? because I can’t run a.out file on my host, I need a target system to run a.out on it.

Regards
Bishan Preet Singh

4 Responses to Toolchain help!!!

  1. meetu says:

    hi…
    i wanna download linux so pls suggest me the website …………4m where i could download linux..

  2. John Mcarthur says:

    hey bishan,
    if u r able to compile a c prog using arm-linux-gcc n producing a.out then ur toolchain is done. BUT u must check a.out , wat r the information related to it .
    type at commad line “file a.out”

    the output should be like :

    a.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped

    VARUN

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>