This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Crosstool 0.28 failure building mipsel on cygwin


Kai Ruottu wrote:
This configuration is mentioned in demo-mipsel.sh as working with the Linksys WRT54G router and that configuration is also mentioned as being good at http://kegel.com/crosstool/#results.

Ok, I too have considered to buy this Linksys router with ucLinux on it. But
then my goal first could be to be the root user there and try to produce some
simple apps to run on it, by producing crosstools for this target system, using
its own uClibc as the target C library and such, behaving in the same way as I
have behaved with all the 1000+ crosstools earlier...


 So my stupid question is: What is wrong with the WRT54G so that producing
normal crosstools for it is impossible? Does Linksys hurt the GPL somehow
and don't provide sources and binaries for their Linux distro?

Nope. The WRT54G is just fine, and Linksys has obeyed the GPL well enough, I suspect. I've built tools for it with crosstool no problem in the past. The funky thing is that they use uclibc, so glibc-based crosstools are not a perfect fit.

The words "included a full MIPS Linux Toolchain(binary) in
the Sourcepackage" claim that Linksys doesn't do anything like that in
order to become sued by FSF... And that producing crosstools for some
other host than that supported by the Linksys binaries, should be easy
and totally normal cross-GCC producing... But what is the truth?

The only funky thing, as I mentioned above, is that the libc on the box is uclibc.

 Is it really possible to replace the much smaller ucLinux with uClibc on
WRT54G and replace it with a full-blown real Linux with glibc ?

There isn't much RAM on the WRT54G, so glibc isn't a great match, I think. (I'm not sure they're using ucLinux, by the way.)

Anyone ever
produced crosstools for the Linksys own "Linux"?

You mean a uclibc-based toolchain? Sure, I bet several people have. Crosstool's uclibc support probably does it, but I haven't tried that. - Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]