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 ...
> > > 
> > > See question below.
> > > 
> > > On Mon, Oct 20, 2008 at 09:39:46AM -0400, Mike Frysinger wrote:
> > > > On Monday 20 October 2008, Arthur Wong wrote:
> > > > > --- user/e2fsprogs.bak/configure    2008-10-20 17:32:45.000000000 
> > > > > +0800
> > > > > +++ user/e2fsprogs/configure    2008-10-20 17:44:57.000000000 +0800
> > > > > @@ -3076,7 +3076,7 @@ if test "${with_ldopts+set}" = set; then
> > > > >  echo "${ECHO_T}LDFLAGS is $withval" >&6
> > > > >  LDFLAGS=$withval
> > > > >  else
> > > > > -  LDFLAGS=
> > > > > +  LDFLAGS= -elf2flt
> > > > >  fi;
> > > > >
> > > > >  # Check whether --with-root-prefix or --without-root-prefix was 
> > > > > given.
> > > > 
> > > > 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.

> And I always thought uclinux *only* supports FLAT binary format. Wrong too?

Wrong.  It supports anything that linux supports + more.

> 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.

uClinux is just "linux" with some extras, nothing is taken out,  so you
are just using a regular linux kernel :-)

Cheers,
Davidm

-- 
David McCullough,  [EMAIL PROTECTED],   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org   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

Reply via email to