LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   GCC 4 based system (https://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-4-based-system-385786/)

Orodreth 11-23-2005 06:35 AM

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?

freakyg 11-23-2005 07:19 AM

you may have to write your own patch to fix this.

Orodreth 11-23-2005 07:49 AM

Ok, I found the problem and fixed it. I forgot a space in my test command. Thanks for the fast answer.


All times are GMT -5. The time now is 05:44 PM.