thanx velco, i'll try what u suggested....hopefully it shud wrk! i was stuck trying to compile glibc sources, but since i have no plans of running any userland apps i'll ditch it! between, in the future if i need to run some user apps will i have to recompile gcc as well??? (in the build steps shown on handhelds.org they compile gcc twice, once w/o glibc and next with it!) -mandeep On Tue, 2004-11-16 at 18:09, Momchil Velikov wrote: > Mandeep Sandhu wrote: > > On Tue, 2004-11-16 at 17:35, Momchil Velikov wrote: > > > >>Mandeep Sandhu wrote: > >> > >>>Hi, > >>>Can anyone point me to a link on how to build a cross-compile > >>>toolchain for ARM based systems (for kernel 2.6). Between is it > >>>worth the effort building it from scratch or should I go for a > >>>pre-built binary? > >> > >>$GCC_SOURCE/configure --target=arm-elf --enable-lagnuages=c > >>make && make install > > Well, you do need binutils :) > > $BINUTILS_SOURCE/configure --target=arm-elf > make && make install > > and *then* build gcc. > > For the kernel you do not need GLIBC. Besides, cross-compiling GLIBC > is officially unsupported. > > Now, if you need to compile for GNU/Linux for ARM hosted userspace > you do need GLIBC, in which case you're SOL. Depending on your needs > you can try uclibc, dietlibc or newlib instead. > > ~velco -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/