On 3/9/2017 9:25 AM, MISL Michal Sládeček wrote:
>>> Hi all.
>>> I've been trying to do my first successful LFS build but "make"
>>> throws an error in
>>> Chapter 5.7 while building Glibc 2.25. The only thing I did that's
>>> not included in the
>>> book is the setting of CFLAGS and CXXFLAGS in .bashrc to "-Os 
>>> -march=prescott
>>> -mtune=core2" and creation of separate working directory within the
>>> sources partition.
>> What is the purpose of these CFLAGS? If it's about cross-compiling for
>> another computer, I'd try CLFS. If it's not, does it work with just
>> "-Os"? It shouldn't be necessary to specify the architecture if it's the
>> architecture you are compiling on. Good luck on your build,
>>
>> Kuba
> No, I'm not trying to cross-compile, it's an optimization thing - programs 
> will run faster when you explicitly specify march and mtune.

Just for kicks, you should try to build Glibc without optimizations.
See here: http://linuxfromscratch.org/lfs/faq.html#optimizations




-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to