[uClibc]questions about Making a cross compiler for uClinux(arm7tdmi)..

Y.H. Park wegaia at micro-web.co.kr
Fri Jan 10 03:02:30 UTC 2003


Hi all,

I'm trying to build a cross compiler which makes the C++,C codes for uClinux(arm7tdmi)
(That codes are about the uClinux kernel and  applications running on it).
It's the my first time to compile the uClibc compiler. So please let me know answers for some questions about it.

First, I found, when running the 'configure', the designated target is 'arm-linux' not like 'arm-elf'
which is the target option of the compiler build of sources in the uClinux site(www.uclinux.org).
What is the difference between the two? are these same?

Second, In gcc-3.2/gcc/config/arm/t-arm-elf(if the two options above are not different), i found the value of TARGET_LIBGCC2_CFLAGS is 'TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc -fno-inline'. 
does it mean we can't use inline functions with arm-uclibc-gcc(or gcc)?
uClinux kernel sources contain many inline functions. 
What should i do about it? Could i remove that disabling function inlining option(-fno_inline)?

I'm a newbie here. So please give me an advice..

Thanks.
Park.






More information about the uClibc mailing list