LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-23-2005, 06:35 AM   #1
Orodreth
LQ Newbie
 
Registered: Nov 2005
Location: Belgium, Antwerp, Zoersel
Distribution: Ubuntu 5.10
Posts: 4

Rep: Reputation: 0
GCC 4 based system


I'm trying to build a GCC 4.0.2 based LFS system, but I've got a problem with step 5.7 in the LFS 6.1 book. GCC 4 doesn't have a specs file by default, so I used gcc -dumpspecs. I can perfecly change that file, but how do I tell the compiler to use it? I know you can do it with -specs=file, but that's only for one file. How do I make gcc use it by default?
 
Old 11-23-2005, 07:19 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
you may have to write your own patch to fix this.
 
Old 11-23-2005, 07:49 AM   #3
Orodreth
LQ Newbie
 
Registered: Nov 2005
Location: Belgium, Antwerp, Zoersel
Distribution: Ubuntu 5.10
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, I found the problem and fixed it. I forgot a space in my test command. Thanks for the fast answer.
 
  


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
Installing linux on an ALPHA based system The7thGuest Linux - Newbie 2 04-13-2005 07:12 PM
Web-based System Manager Risc91 AIX 10 01-01-2005 03:46 PM
What kernel to use with P4 HT based system? Splin Linux - Hardware 3 07-20-2004 02:39 PM
linux system based on a non-GCC compiler? dschobel Linux - General 1 06-21-2004 06:19 PM
RAM based system instead of disk based system ? wini_g Linux - Hardware 7 04-05-2004 06:12 AM


All times are GMT -5. The time now is 05:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration