Hi KJ, Lin KJ wrote: > Thanks again. > > Putting the stand alone apps in the uClinux-dist to compile is easy but seems > not very convenient.
I find it much quicker to drop them into the uClinux-dist. Otherwise you need to make sure you get the build options right (and many people don't get them right for the various non-mmu target platforms). > How about the "arm-elf" toolchain? Is it the same? Well, yeah, it is the same. It produces arm binaries :-) I expect it will work fine for apps and libs. Being an older version of gcc it may not compile modern 2.6 series kernels cleanly though. > Can i use the arm-elf toolchain to compile my own application directly? I suspect that will work ok. Regards Greg > 寄件者: Greg Ungerer <[EMAIL PROTECTED]> > 收件者: uClinux development list <uclinux-dev@uclinux.org> > 寄件日期: 2008/3/12(星期三) 下午3:01:35 > 主 旨: Re: [uClinux-dev] Toolchain for ARM uClinux-2.6 kernel/userland > > Hi KJ, > > Lin KJ wrote: >> Thanks for your detailed explanation. >> >> I can use the arm-linux toolchain to build everything in the uClinux-dist. >> However, how should i do if i want to build other open source packages or >> applications which are not in the uClinux-dist? >> For example, microwindows or my "hello world" program. > > The easiest way is to put them in the dist. > (Microwindows for one is already in there). > > Anything that uses "configure" will be much easier to > get compiling inside the uClinux-dist too. > > Regards > Greg > > >> 寄件者: Greg Ungerer <[EMAIL PROTECTED]> >> 收件者: uClinux development list <uclinux-dev@uclinux.org> >> 寄件日期: 2008/3/12(星期三) 下午1:48:35 >> 主 旨: Re: [uClinux-dev] Toolchain for ARM uClinux-2.6 kernel/userland >> >> Hi KJ, >> >> Lin KJ wrote: >>> I want to port the ARM uclinux on my board, including the 2.6 kernel and >>> userland program. >>> However, i am not familiar with the current status of the ARM uclinux world. >>> In the uclinux website, it mentions that the available toolchains for ARM >>> uClinux are "arm-linux" and "arm-elf" toolchain. >>> Which one is common used for ARM uClinux-2.6 world? >> I use the arm-linux toolchain for 2.6 uClinux development. >> >> >>> I tried to download the Snapgear's arm-linux toolchain, and found the C lib >>> of the toolchain is glibc instead of uclibc. >>> Is it suitable for uclinux world? >> Yes. A build of uClinux-dist doesn't use the libc from the >> toolchain. If you want to build c++ apps then that is >> a different story. >> >> >>> Will it make the userland program size too large? >> No, glibc in the toolchain is not used to generate >> user applications in uClinux-dist builds. >> >> >>> Shouldn't the uclinux use the uclibc based toolchain? >> Only if you need it to be able to build stand alone apps >> outside of the uClinux-dist build framework. >> >> >>> By the way, should i use the "linux-2.6.24-uc0.patch" from uclinux as my >>> kernel porting start point? >>> Or use the "linux-2.6.14-hsc0.patch" from the uClinux/ARM2.6 >>> project(http://opensrc.sec.samsung.com/)? >>> In fact, the two projects confuse me. >> Up to you :-) >> 2.6.14-hsc0 is old and won't port to newer kernels easily. >> But many of the mmu-less targets had some working support. >> >> 2.6.24-uc0 is a modern kernel version, and large parts of it >> merged into mainline linux 2.6.24. But some of the >> non-mmu arm target CPU's code is not up to date for it. >> >> Regards >> Greg >> >> >> >> ------------------------------------------------------------------------ >> Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] >> Secure Computing Corporation PHONE: +61 7 3435 2888 >> 825 Stanley St, FAX: +61 7 3891 3630 >> Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com >> _______________________________________________ >> uClinux-dev mailing list >> uClinux-dev@uclinux.org >> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev >> This message was resent by uclinux-dev@uclinux.org >> To unsubscribe see: >> http://mailman.uclinux.org/mailman/options/uclinux-dev >> >> _______________________________________________ >> uClinux-dev mailing list >> uClinux-dev@uclinux.org >> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev >> This message was resent by uclinux-dev@uclinux.org >> To unsubscribe see: >> http://mailman.uclinux.org/mailman/options/uclinux-dev >> > -- ------------------------------------------------------------------------ Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED] Secure Computing Corporation PHONE: +61 7 3435 2888 825 Stanley St, FAX: +61 7 3891 3630 Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev