On Monday 20 October 2008, David McCullough wrote: > Jivin Jun Sun lays it down ... > > On Tue, Oct 21, 2008 at 08:49:54AM +1000, David McCullough wrote: > > > Jivin Jun Sun lays it down ... > > > > On Mon, Oct 20, 2008 at 09:39:46AM -0400, Mike Frysinger wrote: > > > > > On Monday 20 October 2008, Arthur Wong wrote: > > > > > > - LDFLAGS= > > > > > > + LDFLAGS= -elf2flt > > > > > > > > > > this is wrong as you've just broken non-FLAT targets ... the > > > > > configure script has an option to respect LDFLAGS so use it > > > > > > > > Probably a dumb question - are there non-FLAT targets in uclinux? > > > > > > Yes, lots of targets with MMU's in there. They almost surely out > > > number the ones with flat support by now :-) > > > > Yes, I do know some targets have MMU, but I thought they just > > turn it off and use mmu-less uclinux kernel. Wrong? > > Wrong, most (if not all) of the MMU targets use the MMU.
assuming your MMU implementation isnt god awful and destroys performance, then yes. otherwise, that MMU is just eating your margin ;). > > If a target supports MMU and runs ELF, why doesn't it just use regular > > linux kernel? > > Because the uClinux-dist is more about building firmware, and it > doesn't matter whether you are ELF/flat/fdpic or whatever, if you are > building firmware the uClinux-dist is designed to do it in an easily > reproducible way suitable for use in products. actually, isnt that *exactly* what the uClinux distribution is about ? building firmware ? > uClinux is just "linux" with some extras, nothing is taken out, so you > are just using a regular linux kernel :-) the way i describe it is this: - the "uClinux kernel" or just "uClinux" in the 2.4 days used to mean something special as it was the only way to run Linux on a proc without an MMU. nowadays it's just another vendor kernel patchset that people can do without (i'm not saying it's a bad thing or people dont want it, just that it isnt required for no-MMU). anyone can go to kernel.org and get a mainline kernel and run Linux on a no-MMU processor. - the "uClinux distribution" is all the user space build stuff that helps ease the configuration / build / packaging steps. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ 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