On Wednesday 18 January 2012 15:48:20 Pravinkumar Chavan wrote: > On 18 January 2012 15:26, <[email protected]> wrote: > > > > 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 > > > > > > > > here CROSS_COMPILE=mipsel-linux-gcc the cross compiler > > that I am using right? > > > > > > > > export CC=${CROSS_COMPILE}"gcc -march=armv4t -mtune=arm920t" > > change armv4t -mtune=arm920t to your device cpu architecture optimisation > > requirements. > > > > I unable to get this option : my system is mipsel base systm
Again missing all the importnat details. WHAT device? is it the regular TI AR7 used in all routers or longsun, or something alltogether more esoteric like Silicon graphics. > > > > > > export PATH=$PATH:/opt/arm-2008q3/bin > > change /opt/arm-2008q3/bin to the path where your toolchain resides > > > > Now my toolchain is at /opt/crosstoo-0.43/ so path will be export > > PATH=$PATH:/opt/crosstoo-0.43/ PATH=$PATH:/opt/crosstoo-0.43/bin > export ARCH=arm > > > change arm to your device arch > > export ARCH=mips > > > > > > > > then move into your source tree and make > > > > -- > > Rgds > > JTD > > -- > > http://mm.ilug-bom.org.in/mailman/listinfo/linuxers -- Rgds JTD -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

