I have a router firmware, but there is no libuClibc-0.9.28.so in it. so i'm thinking to compile the so by myself, the router is based on mips64 n32. i download the source code from uclibc,when i cross compile, there are two problems:
1.there is no way to set the abi to n32 in menuconfig
2.cpp can't find the limits.h
for the fisrt one, i just to append the option "-mabi=n32" to the Rules.mak, just like this:
for the second, it's a bit complex, the error like this:
as you can see, in fact, the cpp can't find the second limits.h, the search paths is:
so i use "-isystem" to add a path where there is a "limits.h":
finally, it reports a error:
it said "#error mips32 code being compiled for mips64!", what is it mean? how to find the mips32 code ? i'm new to cross compile, Can anyone help me
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…