> > My toolchain is located at /opt/crosstoll-0.43
>
> Please correct me if am wrong... While compiling other too called i2c I did
> same thing i.e make CC=mipsellinux-gcc and it done properly.
> While executing make its showing that mipsel-linux-gcc inst-ed of just gcc.
> Can you please guide me...
>

You can edit the make file. But it is much better to set env variables.

export CROSS_COMPILE=arm-none-linux-gnueabi-
change arm-none-linux-gnueabi- to the name of your cross compiler prefix

export CC=${CROSS_COMPILE}"gcc -march=armv4t -mtune=arm920t"
change armv4t -mtune=arm920t to your device cpu architecture optimisation 
requirements.

export PATH=$PATH:/opt/arm-2008q3/bin
change /opt/arm-2008q3/bin to the path where your toolchain resides

export ARCH=arm
change arm to your device arch

then move into your source tree and make

-- 
Rgds
JTD
--
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to