[lfs-support] Binutils does not recognize we are cross compiling

2017-02-16 Thread Devin Duren
Hello, first time posting here.

I am using a 64 bit Cent-OS host, and have not deviated from the book.

LFS Version 7.10


When I ran the configure script for Binutils with the options given in
section 5.4, there is a line of output that is concerning. I continued
on to GCC without much thought. But then when I searched through the
configure output for GCC I do not see the two lines mentioned in section
5.2.

As shown below, it seems as though it doesn't recognize we want to cross
compile.

initial output from Binutils output:

lfs:/mnt/lfs/sources/build$ ../binutils-2.27/configure --prefix=/tools
--with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT
--disable-nls --disable-werror
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-lfs-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no 
< line in question
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes

lines missing from GCC output:

checking what assembler to use... /tools/i686-lfs-linux-gnu/bin/as
checking what linker to use... /tools/i686-lfs-linux-gnu/bin/ld

 Am I thinking of cross compiling correctly, or is it possible there is
nothing wrong here and I'm thinking of cross linking?


-Devin

-- 
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


Re: [lfs-support] How can I set hostname?

2017-02-16 Thread ssmtpmailtesting ssmtpmailtesting
@Mike,

This works:
hostname myhostname
exec /bin/bash
-- 
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


Re: [lfs-support] flex-2.6.3

2017-02-16 Thread Bruce Dubbs

Frans de Boer wrote:

Building flex-2.6.3 does not work because configure is not yet generated.
Running autogen.sh usually solves this, but there are no autotools
installed yet.

Any one else?


When I look at the tarball, configure is there.

md5sum: a5f65570cd9107ec8a8ec88f17b31bb1

  -- Bruce


--
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


[lfs-support] flex-2.6.3

2017-02-16 Thread Frans de Boer
Building flex-2.6.3 does not work because configure is not yet 
generated. Running autogen.sh usually solves this, but there are no 
autotools installed yet.


Any one else?

Regards, Frans.
--
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


Re: [lfs-support] Why does the udevadm settle command drive my video card crazy?

2017-02-16 Thread Richard Melville
On 16 February 2017 at 07:06, Hazel Russman 
wrote:

> On Wed, 15 Feb 2017 01:38:56 -0600
> "Douglas R. Reno"  wrote:
>
> > On Wed, Feb 15, 2017 at 12:45 AM, Hazel Russman <
> hazeldeb...@googlemail.com>
> > wrote:
> >
> > > I'm replying to my own post just to tidy things up. It turns out that
> > > udevadm settle was a complete red herring. This command takes a long
> > > time to execute, so there's rather a high chance of something else
> > > happening coincidentally at the same time. The real cause of the
> > > problem was the kernel loading the viafb module followed by fbcon. It's
> > > fbcon that crashes the screen. If it is blacklisted, the boot
> > > completes normally.
> > >
> > > Actually it always completes normally according to the logs. It's just
> > > that you can't see it doing so with the screen misbehaving. In any
> > > case, the problem is purely with the Via Chrome graphics card and
> > > nothing to do with LFS.
> > >
> > > --
> > >
> > > H Russman
> > > --
> > >
> >
> > Hazel,
> >
> > Just for fun, I'm compiling LFS on a VIA-based Netbook by HP (well, if
> you
> > call waiting for three days for GCC to compile *fun*, seems sort of
> > masochistic to me), and I found that you can enable VIA Unichrome
> Graphics
> > Support in the kernel. It's under "Legacy Drivers (DANGEROUS)" or
> something
> > similar in the kernel's Graphics Options in Device Drivers. You might
> want
> > to try that and see if that helps at all. It's untested by me, I'm
> nowhere
> > close to that point yet, and probably won't have time to play with it
> until
> > after release.
> I can't find that branch in my kernel config (4.7.9). There are a number
> of Via-Chrome-specific options and I have made them all as modules, but no
> "Legacy drivers" and certainly nothing that is marked as dangerous. I
> wouldn't dare to use an option with a label like that!
>
> In any case, I now have a solution that works for me. I shall be needing
> viafb later (the webcam needs it and X probably uses it too) but I have no
> need of a framebuffer console. What use is it except to show you pictures
> of penguins while you're booting? So blacklisting fbcon solves my problem
> at zero cost.
>

It can do far more than that; you can set up a reasonable graphics
environment with the framebuffer.  There are  many tools that can be used
to do that: DirectFB, which provides graphic acceleration and transparency;
the Links web browser with the "g" option (glinks); fbterm, a terminal
emulator; fbi, an image viewer, and many more.

If you want a really lightweight system the framebuffer is worth checking
out, and all the tools work well with LFS.  I tried most of them on the
first system that I built some years ago, and I was very happy with the
result; and no X.

Richard
-- 
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


Re: [lfs-support] binutils-2.27: I can't find --with-sysroot in configure scripts

2017-02-16 Thread Pierre Labastie



On 16/02/2017 06:10, Dk Du wrote:

Hi all

When I do LFS step by step, I can't find --with-sysroot in configure 
scripts, but I find --with-build-sysroot,/||/ does it wrong?


Thanks.



Hi,

I understand that you do not find "--with-sysroot" in top level 
configure, either when running ./configure --help or when examining the 
configure script. The reason is that there are other configure scripts 
in subdirectories, which are run doing the "make" command, and at least 
one of them (the one in the `ld' directory IIRC) has this switch. You 
can also type "./configure --help=recursive" at the top level, to get 
all the options from all configure scripts in subdirectories.


Regards
Pierre
-- 
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