Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 06-05-2004, 04:52 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
LFS on PPC(linux-headers)


I am installing LFS-CVS-2004-06-02 on my new ibook.

So I just passed binutils and gcc. Now I have to install Linux-Libc-Headers-

it say to copy include/asm-i386 to /tools/include/asm
I am not sure if that instruction is the right one for me (cause me==powerpc)
there is also a dir named asm-ppc.

I just dont know if include/asm-i386 is just for iX86 or if its independent(like the asm-generic headers) so that i (ppc) can use then too.

In the next step it says to install the Linux-2.6.6 Headers: a instruction is like this:
make include/asm (to install the platform-specific header files)

What should I do???
Old 06-05-2004, 08:24 PM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Of course you should install the headers for your architecture. If you read the Toolchain technical notes page it makes it clear you should be aware what platform you're building on, so copy include/asm-ppc if that's the right one. When it says
make include/asm - just run the command as the book says. The makefile should be able to figure out what platform you're building on.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPC linux where Dark_Sniper* Linux - Newbie 4 06-04-2005 06:26 AM
LFS PPC and Yaboot lloyd_smart Linux From Scratch 0 12-29-2004 01:19 PM
PPC Linux dublinclontarf Linux - Distributions 8 08-05-2004 05:54 PM
Linux on PPC gamehack Linux - Hardware 1 06-25-2004 12:59 PM
PPC Linux Scotty2435 Linux - General 1 03-03-2002 09:18 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration