Author Topic: Cross-compiling probs with ingenic toolchain. Any suggestions?  (Read 3068 times)

ctagg

  • Newbie
  • *
  • Posts: 14
Been experimenting with cross-compiling using the ingenic toolchain which was going OK at basic level (hello world, even sqlite3), but hit a roadblock now with trying to compile ruby. Long story short, I think I've narrowed the prob down to the version of libc used on the toolchain being more up-to-date than than that on my Elonex Onet+. One the toolchain it seems to be libc-2.6.1, whereas on the Onet+ it is libc-2.3.6.

In the docs on Ingenic's site the toolchain it refers to has this version of the C library, but the older version isn't on their website any more? Any suggestions, or anyone got a copy of that old toolchain?

Cheers
Chris

Jay Turner

  • Full Member
  • ***
  • Posts: 239
Re: Cross-compiling probs with ingenic toolchain. Any suggestions?
« Reply #1 on: March 06, 2009, 05:06:46 PM »
wouldn't it be easier to update libc on the elonex?
Elonex OneT + Software hacks + 4Gig SD card

ctagg

  • Newbie
  • *
  • Posts: 14
Re: Cross-compiling probs with ingenic toolchain. Any suggestions?
« Reply #2 on: March 06, 2009, 05:26:00 PM »
If it was a regular distro you could just update it (or even a minor package), I'd say that was the way to go. However, if you google upgrading libc, you'll see lots of probs with upgrading libc on its own, so I think it's a bit dangerous to do this (though will prob try if all else fails).

I could always rebuild the toolchain from scratch with same versions, but that seems a fairly major job, given I've only just got to grips with cross-compiling...