Small Linux Laptop Forum

Elonex One T & One T+, CnM Minibook => Software & OS Modifications, Alternative Distributions => Development => Topic started by: ctagg on March 06, 2009, 01:29:58 PM

Title: Cross-compiling probs with ingenic toolchain. Any suggestions?
Post by: ctagg on March 06, 2009, 01:29:58 PM
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 (http://ftp://ftp.ingenic.cn/3sw/01linux/00toolchain/) 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
Title: Re: Cross-compiling probs with ingenic toolchain. Any suggestions?
Post by: Jay Turner on March 06, 2009, 05:06:46 PM
wouldn't it be easier to update libc on the elonex?
Title: Re: Cross-compiling probs with ingenic toolchain. Any suggestions?
Post by: ctagg 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...