On 09.10.2014 16:13, Bruce Dubbs wrote:
Christer Solskogen wrote:
On 09.10.2014 03:10, Ken Moffat wrote:
On Wed, Oct 08, 2014 at 11:23:15PM +0200, Christer Solskogen wrote:
On 06.10.2014 13:06, Pierre Labastie wrote:
${SRCDIR}/bin/gcc/configure --prefix=${TOOLS} --target=${CROSS_TARGET}
--disable-shared --disable-threads --without-headers
--disable-decimal-float --disable-multilib --enable-languages=c
--disable-libquadmath --disable-libssp --disable-libgomp
--disable-libatomic
--disable-libmudflap --libexecdir=${TOOLS}/lib --disable-nls
Are you saying it is not required in LFS, because you have built
LFS while omitting those switches ? Your mail is not clear, at
least to me. Building stage1 pseudo-cross-compilers without then
building LFS seems a pointless activity (although I have done the
equivalent myself a couple of times, to build a kernel on ppc64
with 32-bit userspace, and I am sure people could do the same for
i686 userspace with an x86_64 kernel), but your post leaves me
confused about how far you have gone in building LFS.
No, I've not built LFS with it. But I've used cross compilers to built
for my ppc and arm machine.
You need a stage1 compiler in order to compile a full compiler with
glibc.
Unrelated to that, why do you care about libexecdir in /tools ?
Even the people who hate /usr/libexec usually seem OK with what
happens in /tools because that is a temporary part of the build.
I just don't like it :-)
Your distro, your rules. Most people won't care.
We are not going to change the gcc build instructions unless we know it
causes a problem in a standard LFS build. There is just too much
complexity in this to change several years of experience otherwise.
Let's see what GCC manual says:
https://gcc.gnu.org/install/configure.html
--with-newlib
Specifies that ‘newlib’ is being used as the target C library. This
causes __eprintf to be omitted from libgcc.a on the assumption that it
will be provided by ‘newlib’.
And as long as LFS don't use newlib it *really* does not matter.
No, it won't hurt either. But the option is pretty much useless (for
LFS) and might cause confusion.
--
chs
--
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