Results 1 to 3 of 3

Thread: PowerPC and DENX

  1. #1
    dinman is offline Registered User
    Name: Dinesh SAMUEL
    Organization: Courant Multi Media
    Project: Network bridge
    Join Date
    Oct 2007
    Posts
    1

    PowerPC and DENX

    Hello,

    I am new user of Ice.

    Can any one tell me if it is possible to cross compile to this environment ?

    What must I change to do this ?

    Hardware: PowerPC AMCC 405EP
    Flash : 16 MB
    RAM: 32 MB
    OS : Linux DENX

    Thanks for your help.

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Dinesh,

    We currently do not support this platform. So far, the Ice for C++ build system works only on the target host (no cross-compiling).

    I suspect it would make sense to try first Ice-E on your embedded system. The Ice-E build system supports cross-compilation to Linux Gumstix/ARM; maybe we can adapt the build system/build instructions to work on Linux / PPC? Please refer to INSTALL.LINUX in the Ice-E source distribution.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  3. #3
    christian is offline Registered User
    Name: Christian Pfligersdorffer
    Organization: eos.info
    Project: embedded control system development
    Join Date
    Apr 2010
    Posts
    7
    Hi folks,

    I successfully cross-compiled IceE-1.3.0 for our PowerPC target platform (MPC5200) using the DENX development kit. It almost worked out of the box and needed only one adjustment to the source base. The Time::now() function implementation needs to be told that our target platform does not have monotonic clock support.

    To get this right out of the box change the conditional compilation to something like

    Code:
    #if defined(_WIN32)
       // on windows
    #elif defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK > 0)
       // on platform having the monotonic clock
    #else
       // on platform without monotonic clock
    With that settled, you simply follow the installation instructions for Gumstix Linux, set the appropriate cross-tools

    Code:
    $ export CXX=ppc-linux-c++
    $ export AR=ppc-linux-ar
    and build it. Have fun!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •