LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-23-2009, 02:57 PM   #1
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Rep: Reputation: 32
5.8 adjusting toolchain, sanity check


Hi Ive started LFS twice and hit the same problem.
when I do the sanity check in section "5.8 adjusting toolchain"
I type

echo 'main(){}' > dummy.c
$LFS_LGT-gcc -B/tools/lib dummy.c

then immediately get the error:

i686-lfs-linux-gnu-gcc: unrecognized option '-mtune=generic'

can anyone tell me what this means?
 
Old 10-01-2009, 11:38 AM   #2
dennis_k85
LQ Newbie
 
Registered: Aug 2008
Location: Dacono Colorado
Distribution: linux from scratch
Posts: 5

Rep: Reputation: 1
It means that your options for gcc are not setup correctly. Go back to the gcc build script and verify that it is what you think it should be. Make sure all the .configure options are set correctly for your system.

dennis_k85
 
  


Reply


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
5.7. Adjusting the Toolchain - sanity issue... yanger Linux From Scratch 2 11-12-2008 05:52 AM
No output from sanity check, chapter 5.7.*Adjusting the Toolchain Murdock_nl Linux From Scratch 2 09-13-2008 01:59 AM
6.10. Re-adjusting the Toolchain brayden516 Linux From Scratch 2 05-04-2008 12:06 AM
adjusting the toolchain bourbonstreet Linux From Scratch 5 11-05-2006 12:43 PM
LFS 6 ch5.9 adjusting the toolchain failed sanity check totty79 Linux From Scratch 1 03-21-2005 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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