LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Error while Porting Glibc-2.11.1 to arm cortex-a9 target (https://www.linuxquestions.org/questions/linux-hardware-18/error-while-porting-glibc-2-11-1-to-arm-cortex-a9-target-905380/)

me011089 09-28-2011 04:21 AM

Error while Porting Glibc-2.11.1 to arm cortex-a9 target
 
Hi,
I tried to cross-compile glibc with toolchain "arm-2009q3"
I did following things
1.set the environment variables like CC,LD,AS... to that in toolchain

2.created a new directory called "config"

3.Entered into that directory and run "../commandconfigure --prefix=/usr/local/ARM/ libc_cv_386_tls=yes",It was successful.

4.But when I gave make it is giving following errors

===>cc1: error: unrecognized command line option "-mpreferred-stack-boundary=4"
make[2]: *** [/home/elxsi/gopish/glibc-2.11.1/config/tcb-offsets.h] Error 1
make[2]: Leaving directory `/home/elxsi/gopish/glibc-2.11.1/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/elxsi/gopish/glibc-2.11.1'
make: *** [all] Error 2

can anyone help me

Thanks in advance


All times are GMT -5. The time now is 12:13 PM.