MIPS32r2 GNU Toolchain for x86_64 HOST PC (ubuntu 11.04)

This topic contains 1 reply, has 2 voices, and was last updated by  Raghu Gandham 6 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31367

    deepakgaur
    Member

    Hi all,

    This is regarding gnu toolchain required for cross compiling mips android OS for MIPS32r2 target on a x86_64 based host PC running Ubuntu 11.04 64 Bit edition.

     

    The prebuilt gnu toolchain included in mips android OS gingerbread-r1 has been compiled on a 32 bit host  machine . The compilation is giving error when compiling MIPS Android with this toolchain. Can anyone suggest the right toolchain for cross compiling this mips android OS on an x86_64 bit machine with Ubuntu 11.04 64 bit OS.

    https://www.imgtec.com/mips/developers/android-source-code.asp

    git://github.com/MIPS/manifests.git -b mips-gingerbread-r1

     

    HOST PC



    $ uname -a

    Linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

    $ cd ./mipsandroid/prebuilt/linux-x86/toolchain/mips-4.4.3/bin

    $ file mips-linux-gnu-gcc
    mips-linux-gnu-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

     

    Thanks,

     

    Deepak Gaur

    #37765

    Hi Deepak,

     

          On a 64 bit system, you need to setup a 32 bit environment and build android. Have you installed all the below libraries?

    git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev
    lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev

    For compiling gingerbread, you further need to install
    sun-java6-jdk and not sun-java5-jdk.

    What exactly is the compilation error you are facing?

    make showcommands would give a detailed error.

    Thanks,
    Raghu
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.