Join Today
+ Reply to Thread
Results 1 to 4 of 4
  1. #1

    Default Problem crosscompiling an app

    Hi everyone,

    This is my first message in this forum. I have a motorola E680i for testing purposes and I'm trying to crosscompile an application. I have build a toolchain and I have a NFS server to upload the application to the phone. If I try to compile a typical helloworld in c++ with that toolchain, it works well but when I try to execute the crosscompiled application it says illegal instruction.

    I don't know if the problem is the toolchain. I am using a toolchain from handhelds.org

    http://www.handhelds.org/download/pr...-3.3.2.tar.bz2

    The output of the executble in the phone is

    ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped

    Has anyone any idea? Should I use another toolchain? Because I tried with another and I had problems with the lib openssl.

    Thanks in advance.

  2. #2
    Join Date
    Jul 2005
    Location
    Seksyen Tujuh (7) Shah Alam
    Posts
    147

    Default

    maybe our developers know bout this.... :P :P :P
    OS: Windows Vista Ultimate RC1 Build 5600
    CPU: Intel Pentium 4 2.40GHz overclocked to 2.47GHz


    http://www.motorolafans.com/MotoFile.../montage01.gif

  3. #3

    Default

    Have you tried using MkEzx? It's a build system explictly geared towards cross-compiling for EZX handsets and it comes with its own toolchain. The toolchain was based on Leprechaun's toolchain but I have added a number of patches to it.

    You can get MkEzx from (if you can, go for the SVN version, it's easier to stay up to date):
    http://www.mkezx.org/
    http://www.mkezx.org/ - MkEzx build framework

  4. #4

    Default

    I've tried to debug the application using a GDBserver on the motorola phone. The application crashes before reaching the Main. The application uses shared-libraries that are also in the same directory in the phone.

    Anyone with a similar problem?


    Thanks


 
+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 07-28-2009, 02:50 PM
  2. [APP] RunScript - PKG app that execute script code at boot-time
    By intermario_gr in forum A1200 Applications
    Replies: 29
    Last Post: 10-22-2008, 05:54 PM
  3. Java app upgrade problem
    By srawat_itpro in forum E6 General Chat
    Replies: 3
    Last Post: 07-31-2008, 04:23 AM
  4. Replies: 7
    Last Post: 07-16-2008, 05:03 AM
  5. Help: Problem with dedracks java hacker app
    By nodramachicks in forum A1200 General Chat
    Replies: 3
    Last Post: 11-15-2007, 08:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1