Results 1 to 3 of 3

Thread: custom glib based toolchain

  1. #1

    Unhappy custom glib based toolchain

    Hi there.

    I tried to compile myself some software for wl500gx, but wasn't very successful. Only small and simple programs compiled cleanly, many others needed a lot of patching and still I weren't able to get them working.

    I would like to know, how it is possible to create custom toolchain based on glibc.

    Tried some ways how to accomplish that, but nothing worked well.

    1) scratchbox - I wasn't able to figure out how one can force it to use custom kernel headers (from GPL).

    2) construction based on this howto:
    http://skaya.enix.org/wiki/ToolChain
    - this produces mipsel-linux-* toolchain, however compiled programs won't work on wl500gx :-(

    3) emdebian cross compilation process
    Not finished yet. Little painful - whenever something has to be cross-compiled, many files are downloaded again and again. Trying to find out how I can cache the remote server locally.

    Did anyone manage to cope with this issue?

  2. #2

    Skaya howto worked

    Ok. Now I understand... the toolchain based on Skaya's HOWTO works well, when it compiles with -static option.

    However, I would like to find out what libraries are requred to be inserted into the target device in order to have dynamically linked programs work as well.

    What confuses me is that no complains about missing *so files arises when I try to run these, just:

    -sh: ./file: not found

    Maybe it means that some so can't be found, but it doesn't tell which :-( And that is not very useful :-/

  3. #3
    Join Date
    Apr 2004
    Location
    Adelaide, Australia
    Posts
    88
    Quote Originally Posted by ja.ro
    I tried to compile myself some software for wl500gx, but wasn't very successful. Only small and simple programs compiled cleanly, many others needed a lot of patching and still I weren't able to get them working.
    Have you looked at the Unslung package repository? We have over 90 packages which compile for the wl500g (mipsel, uclibc) already ..

    See http://www.nslu2-linux.org/wiki/Unsl...ckageToUnslung for details on how to set up the Unslung compilation environment. It uses Oleg's uClibc toolchain (the same one which is used to compile the firmware).

    -- Rod

Similar Threads

  1. Tweaking the toolchain
    By unaiur in forum WL-500g Custom Development
    Replies: 1
    Last Post: 16-09-2005, 20:23
  2. compiling toolchain based on the latest uClibc
    By ja.ro in forum WL-500g Custom Development
    Replies: 4
    Last Post: 11-04-2005, 15:36
  3. Installing toolchain - please help
    By RoofCat in forum WL-500g Q&A
    Replies: 3
    Last Post: 02-03-2005, 17:45
  4. Broadcom toolchain diff's
    By mctiew in forum WL-500g Custom Development
    Replies: 3
    Last Post: 02-03-2005, 11:24
  5. toolchain question (c++ ?)
    By QuarterPounder in forum WL-500g Custom Development
    Replies: 5
    Last Post: 28-05-2004, 14:57

Posting Permissions

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