SDL + ARM Compilation Error

Hi

I am cross compiling SDL for ARM. I am facing problem to set path for my precompiled ARM libs. The Configure script sets libs to the Host’s libs. Becuase of this I have the following errors:

/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/…/…/…/…/arm-linux/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/…/…/…/…/arm-linux/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/…/…/…/…/arm-linux/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/…/…/…/…/arm-linux/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/…/…/…/…/arm-linux/bin/ld: skipping incompatible /usr/lib/libartsc.so when searching for -lartsc
/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/…/…/…/…/arm-linux/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[2]: *** [libSDL.la] Error 1

How to configure my libs?

thanx in advance.

Irfan__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com