This is probably off-topic, I know, but If you are running x86 hardware, why don't you just use Slackware? Or, perhaps copy gcc from slackware (along with any required libraries). If we can run Slackware on the Bifferboard (32MB of RAM), you can surely run it on your hardware.
Because OpenWrt is just so cool!
There are a couple other reasons too - I don't know yet how to set up the filesystem for slackware myself so that it doesn't constantly wear the flash card out. (But slackware definitely my favorite for my regular computers! I've been using it for around 10 years I suppose.)
(OpenWrt has a really cool filesystem configuration which, as far as I know, never writes to the flash memory unless there's an actual need to, thus preventing constant wear of my CF card. )
Also, it's just so easy to get OpenWrt to fit on a really cheap half gig CF card.. It takes a good bit more work to get Slackware to fit inside there with some room left over.
And, slackware has no package feed system - which isn't a huge problem - but for little boxes a package feed system is just so nice.
As to just copying gcc binaries from slackware to my OpenWrt box - I did try copying a simple Hello World C binary over and it wouldn't run for the want of some libraries and I guess I just figured that it'd be such a foxhunt trying to figure out what all libraries I needed. And GCC would probably need so many more then my HelloWorld program. But if you've done such a copy and it was quite feasible, then I would like to know about it - and I will try too!
Having said that, if anyone can point me to instructions on how to set up a filesystem scheme that is read/write for all practical purposes and yet never writes to the flash card except when a file actually needs to be saved, I would be most happy and grateful!
Thanks very much,
(Last edited by jesseg on 16 Sep 2009, 19:39)