There is no glibc compiled for 2.4.0 for the mips architecture in
debian. (afaik)

Ok. Then it makes sense to try to cross-compile a glibc-2.7 for mipsel with 2.4 headers...


Here is the status:

* no problem setting up gcc 4.2.4 and glibc 2.7 with linux 2.4 headers
* but glibc 2.7 does no longer provide linuxthreads (which was "standard" in 2.4 systems) but only NPTL
* ok, no problem - let's cnfigure glibc for NPTL
* ugh - this requires TLS and the configure thinks it does not (because configure runs on the BUILDHOST)
* ok, we have to convince configure that the MIPS processor can do TLS
* hm - now it configures fine but we need the system call set_thread_area()
* this was not introduced before some 2.5.99 kernel

So - I am stuck again and don't know if it is worth the effort to continue this way. I start to love Linux and the inherent dependencies :)

Nikolaus

_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to