On 05/31/2013 05:49:45 PM, Bruce Dubbs wrote:
> Armin K. wrote:
> > On 06/01/2013 12:27 AM, Bruce Dubbs wrote:
> 
> >> Is there any interest in LFS for the Pi?
> 
> >   From what I've heard - it's an ARM board.
> 
> That's right.
> 
> > LFS only supports x86/x86_64
> > and it doesn't support cross-compiling. Saying that, you'd need an  
> ARM
> > distro running on an ARM processor to build LFS for ARM (probably  
> some
> > modifications will be needed) or introduce cross-compilation (one  
> reason
> > why Debian introduced multiarch). You'd only have a problem if you  
> go
> > for the first way and that's resources - ARM processors are  
> relatively
> > slow and not very useful for compiling something big like LFS (big =
> > gcc, glibc and stuff).
> 
> That's why I mentioned running in qemu.  First, load an ARM distro
> inside qemu and then start building using LFS techniques.  At least
> that's the idea.
> 
> > As for BLFS, you can't get graphics stack working without their
> > libraries and drivers which are by the way hosted at
> > https://github.com/raspberrypi/userland
> 
> One step at a time.  A base LFS on new hw like this would take a while
> to figure out.

Not hugely.

My aboriginal linux project cross compiles the simplest native  
development environment I could make, then boots it under qemu and  
builds things like Linux From Scratch under the result.

   http://landley.net/aboriginal

My automated LFS builder (http://landley.net/aboriginal/control-images)  
is still 6.8 because I haven't had time to update it recently, but it's  
target-agnostic and runs the same on arm, mips, powerpc, and so on.

I do one bit on non-obvious magic:

http://landley.net/hg/control-images/file/63663cdfbe32/common/bootstrap/build-one-package.sh#l31

But only because autoconf is useless and I've used this to build on  
prototype architectures like the Qualcomm Hexagon before they went  
upstream, so the config.guess block copied into each package didn't  
know that one existed.

Rob
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to