hi Kerry that fixed it thanks.  




---- On Sat, 03 Sep 2016 19:00:01 
+0000<lfs-support-requ...@lists.linuxfromscratch.org> wrote ----




Send lfs-support mailing list submissions to

    lfs-support@lists.linuxfromscratch.org



To subscribe or unsubscribe via the World Wide Web, visit

    http://lists.linuxfromscratch.org/listinfo/lfs-support

or, via email, send a message with subject or body 'help' to

    lfs-support-requ...@lists.linuxfromscratch.org



You can reach the person managing the list at

    lfs-support-ow...@lists.linuxfromscratch.org



When replying, please edit your Subject line so it is more specific

than "Re: Contents of lfs-support digest..."

Today's Topics:



 1. Multilib support (Rob)

 2. Re: Probably simple binutils installation issue (Kerry Cox)

 3. Re: Probably simple binutils installation issue (Thanos Baloukas)

 4. Re: Probably simple binutils installation issue (Bruce Dubbs)

 5. Re: Multilib support (Thanos Baloukas)

 6. Re: Multilib support (Hazel Russman)

 7. Re: Multilib support (Thanos Baloukas)





========================= Forwarded message =========================



Subject: [lfs-support] Multilib support

From: "Rob"<captinlo...@gmail.com>

Date: Fri, 02 Sep 2016 14:06:29 -0500

To: <lfs-support@lists.linuxfromscratch.org>



------------------------- Contents -------------------------



In chapter 6 of LFS, we have 

"--disable-multilib" 

specified in the configure instructions. What will happen if I don't include 
that? I have some programs that I want to run which are 32 bit, and require 32 
bit libs. 

 





====================== End of Forwarded Mail ======================







========================= Forwarded message =========================



Subject: Re: [lfs-support] Probably simple binutils installation issue

From: "Kerry Cox"<kerryj...@gmail.com>

Date: Fri, 2 Sep 2016 14:32:48 -0600

To: "LFS Support List"<lfs-support@lists.linuxfromscratch.org>



------------------------- Contents -------------------------



I had the same issue using version 7.9 with my University Linux class. I had 
them roll back to version 7.8 and no issues.

My 2 cents.

Kerry



On Friday, September 2, 2016, smith.aaron <smith.aa...@zoho.com> wrote:



Hi everyone, 



Have run into difficulty trying to install binutils at the start of LFS chapter 
5. I spent the last two days slowly re-reading up to chapter five, googling 
around, and correcting any mistakes I found, but to no avail. I found plenty 
online close to describing my specific symptoms, but nothing that exactly 
addressed it, or enabled me to figure the problem out.



First here is the terminal output where I encounter the problem:



!Y+lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ ../configure --prefix=/tools 
           \

>              --with-sysroot=$LFS        \

>              --with-lib-path=/tools/lib \

>              --target=$LFS_TGT          \

>              --disable-nls              \

>              --disable-werror

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-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... 

configure: error: in `/mnt/sda7/sources/binutils-2.27/build':

configure: error: C compiler cannot create executables

See `config.log' for more details.

lfs@kali:/mnt/sda7/sources/binutils-2.27/build$










Here is the output of version-check.sh. Hopefully I am just including this for 
reference/to show everything is ok in this regard...



bash, version 4.3.46(1)-release

/bin/sh -> /bin/bash

Binutils: (GNU Binutils for Debian) 2.26.1

bison (GNU Bison) 3.0.4

/usr/bin/yacc -> /usr/bin/bison.yacc

bzip2,  Version 1.0.6, 6-Sept-2010.

Coreutils:  8.25

diff (GNU diffutils) 3.3

find (GNU findutils) 4.7.0-git

GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4-p2, GNU MP 6.1.1)

/usr/bin/awk -> /usr/bin/gawk

gcc (Debian 6.1.1-11) 6.1.1 20160802

g++ (Debian 6.1.1-11) 6.1.1 20160802

(Debian GLIBC 2.23-5) 2.23

grep (GNU grep) 2.25

gzip 1.6

Linux version 4.6.0-kali1-686-pae (de...@kali.org) (gcc version 5.4.0 20160609 
(Debian 5.4.0-6) ) #1 SMP Debian 4.6.4-1kali1 (2016-07-21)

m4 (GNU M4) 1.4.17

GNU Make 4.1

GNU patch 2.7.5

Perl version='5.22.2';

sed (GNU sed) 4.2.2

tar (GNU tar) 1.29

texi2any (GNU texinfo) 6.1

xz (XZ Utils) 5.1.0alpha

g++ compilation OK




Finally, here is the config.log mentioned in the terminal. I think I cut and 
paste the right bit of it. Overall it was very big and I am not sure of mailing 
list etiquette, so tried to just get the relevant bit. I am confident I have 
entered any other commands correctly (except that of course I am having this 
problem, so...!) 





lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ ../configure --prefix=/tools    
        \

>              --with-sysroot=$LFS        \

>              --with-lib-path=/tools/lib \

>              --target=$LFS_TGT          \

>              --disable-nls              \

>              --disable-werror

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-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 defa




Any help will be greatly appreciated! Thanks for the book and community - 
although I have run into trouble here I think it is going to be of great help 
for me.












-- 

---

Kerry Cox, Ph.D.

Neumont University Faculty

http://www.neumont.edu


Work: 801.302.2861

Cell: 801.554.7706

k...@neumont.edu

















====================== End of Forwarded Mail ======================







========================= Forwarded message =========================



Subject: Re: [lfs-support] Probably simple binutils installation issue

From: "Thanos Baloukas"<baloukast...@sch.gr>

Date: Fri, 2 Sep 2016 23:48:30 +0300

To: <lfs-support@lists.linuxfromscratch.org>



------------------------- Contents -------------------------



On 02/09/2016 09:26 μμ, smith.aaron wrote: 

> Hi everyone, 

> 

> Have run into difficulty trying to install binutils at the start of LFS 

> chapter 5. I spent the last two days slowly re-reading up to chapter 

> five, googling around, and correcting any mistakes I found, but to no 

> avail. I found plenty online close to describing my specific symptoms, 

> but nothing that exactly addressed it, or enabled me to figure the 

> problem out. 

> 

> First here is the terminal output where I encounter the problem: 

> 

> !Y+lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ ../configure 

> --prefix=/tools \ 

> > --with-sysroot=$LFS \ 

> > --with-lib-path=/tools/lib \ 

> > --target=$LFS_TGT \ 

> > --disable-nls \ 

> > --disable-werror 

> checking build system type... i686-pc-linux-gnu 

> checking host system type... i686-pc-linux-gnu 

> checking target system type... i686-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... 

> configure: error: in `/mnt/sda7/sources/binutils-2.27/build': 

> configure: error: C compiler cannot create executables 

> See `config.log' for more details. 

> lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ 

> 

> 

> 

> 

> Here is the output of version-check.sh. Hopefully I am just including 

> this for reference/to show everything is ok in this regard... 

> 

> bash, version 4.3.46(1)-release 

> /bin/sh -> /bin/bash 

> Binutils: (GNU Binutils for Debian) 2.26.1 

> bison (GNU Bison) 3.0.4 

> /usr/bin/yacc -> /usr/bin/bison.yacc 

> bzip2, Version 1.0.6, 6-Sept-2010. 

> Coreutils: 8.25 

> diff (GNU diffutils) 3.3 

> find (GNU findutils) 4.7.0-git 

> GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4-p2, GNU MP 6.1.1) 

> /usr/bin/awk -> /usr/bin/gawk 

> gcc (Debian 6.1.1-11) 6.1.1 20160802 

> g++ (Debian 6.1.1-11) 6.1.1 20160802 

> (Debian GLIBC 2.23-5) 2.23 

> grep (GNU grep) 2.25 

> gzip 1.6 

> Linux version 4.6.0-kali1-686-pae (de...@kali.org) (gcc version 

> 5.4.0 20160609 (Debian 5.4.0-6) ) #1 SMP Debian 4.6.4-1kali1 

> (2016-07-21) 

> m4 (GNU M4) 1.4.17 

> GNU Make 4.1 

> GNU patch 2.7.5 

> Perl version='5.22.2'; 

> sed (GNU sed) 4.2.2 

> tar (GNU tar) 1.29 

> texi2any (GNU texinfo) 6.1 

> xz (XZ Utils) 5.1.0alpha 

> g++ compilation OK 

> 

> 

> Finally, here is the config.log mentioned in the terminal. I think I cut 

> and paste the right bit of it. Overall it was very big and I am not sure 

> of mailing list etiquette, so tried to just get the relevant bit. I am 

> confident I have entered any other commands correctly (except that of 

> course I am having this problem, so...!) 

> 

> 

> lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ ../configure 

> --prefix=/tools \ 

> > --with-sysroot=$LFS \ 

> > --with-lib-path=/tools/lib \ 

> > --target=$LFS_TGT \ 

> > --disable-nls \ 

> > --disable-werror 

> checking build system type... i686-pc-linux-gnu 

> checking host system type... i686-pc-linux-gnu 

> checking target system type... i686-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 defa 

> 

> 

> Any help will be greatly appreciated! Thanks for the book and community 

> - although I have run into trouble here I think it is going to be of 

> great help for me. 

> 

> 

You posted the configure output, not config.log 

config.log is created by the configure script, 

not redirecting it's output. 

 

The error in config.log should be after the line: 

 

checking for C compiler default output file name 

 

Copy and paste that part. 

 

Also, do this test: 

 

$ cat > test.c << "EOF" 

int 

main () 

{ 

 

; 

return 0; 

} 

EOF 

 

$ gcc test.c 

 

You should have an a.out executable. 

 

$ ./a.out 

 

$ echo $? 

 

This should output 0 

 

-- 

Thanos 

 





====================== End of Forwarded Mail ======================







========================= Forwarded message =========================



Subject: Re: [lfs-support] Probably simple binutils installation issue

From: "Bruce Dubbs"<bruce.du...@gmail.com>

Date: Fri, 2 Sep 2016 16:06:04 -0500

To: "LFS Support List"<lfs-support@lists.linuxfromscratch.org>



------------------------- Contents -------------------------



smith.aaron wrote: 

 

> Have run into difficulty trying to install binutils at the start of LFS 

> chapter 5. I spent the last two days slowly re-reading up to chapter 

> five, googling around, and correcting any mistakes I found, but to no 

> avail. I found plenty online close to describing my specific symptoms, 

> but nothing that exactly addressed it, or enabled me to figure the 

> problem out. 

> 

> First here is the terminal output where I encounter the problem: 

> 

> !Y+lfs@kali:/mnt/sda7/sources/binutils-2.27/build$ ../configure 

> --prefix=/tools \ 

> 

> > --with-sysroot=$LFS \ 

> 

> > --with-lib-path=/tools/lib \ 

> 

> > --target=$LFS_TGT \ 

> 

> > --disable-nls \ 

> 

> > --disable-werror 

 

> configure: error: in `/mnt/sda7/sources/binutils-2.27/build': 

> 

> configure: error: C compiler cannot create executables 

> 

> See `config.log' for more details. 

 

What does this give you on the host? 

 

$ cat > hello.c << EOF 

#include <stdio.h> 

int main() 

{ 

 printf("Hello World\n"); 

 return 0; 

} 

EOF 

 

$ gcc -o hello hello.c 

$ ./hello 

 

 -- Bruce 

 





====================== End of Forwarded Mail ======================







========================= Forwarded message =========================



Subject: Re: [lfs-support] Multilib support

From: "Thanos Baloukas"<baloukast...@sch.gr>

Date: Sat, 3 Sep 2016 02:21:44 +0300

To: <lfs-support@lists.linuxfromscratch.org>



------------------------- Contents -------------------------



On 02/09/2016 10:06 μμ, Rob wrote: 

> In chapter 6 of LFS, we have 

> "--disable-multilib" 

> specified in the configure instructions. What will happen if I don't 
include that? I have some programs that I want to run which are 32 bit, and 
require 32 bit libs. 

> 

AFAIK omitting this is needed to build a multilib compiler, 

but it's not enough. It needs more to achieve this. Try Google. 

 

-- 

Thanos 

 





====================== End of Forwarded Mail ======================







========================= Forwarded message =========================



Subject: Re: [lfs-support] Multilib support

From: "Hazel Russman"<hazeldeb...@googlemail.com>

Date: Sat, 3 Sep 2016 07:35:04 +0100

To: <lfs-support@lists.linuxfromscratch.org>



------------------------- Contents -------------------------



On Sat, 3 Sep 2016 02:21:44 +0300 

Thanos Baloukas <baloukast...@sch.gr> wrote: 

 

> On 02/09/2016 10:06 μμ, Rob wrote: 

> > In chapter 6 of LFS, we have 

> > "--disable-multilib" 

> > specified in the configure instructions. What will happen if I don't 
include that? I have some programs that I want to run which are 32 bit, and 
require 32 bit libs. 

> > 

> AFAIK omitting this is needed to build a multilib compiler, 

> but it's not enough. It needs more to achieve this. Try Google. 

> 

> -- 

> Thanos 

> -- 

I don't think you can do multilib in LFS. You need to use CLFS. 

 

Hazel 

 





====================== End of Forwarded Mail ======================







========================= Forwarded message =========================



Subject: Re: [lfs-support] Multilib support

From: "Thanos Baloukas"<baloukast...@sch.gr>

Date: Sat, 3 Sep 2016 10:35:42 +0300

To: <lfs-support@lists.linuxfromscratch.org>



------------------------- Contents -------------------------



On 03/09/2016 09:35 πμ, Hazel Russman wrote: 

> On Sat, 3 Sep 2016 02:21:44 +0300 

> Thanos Baloukas <baloukast...@sch.gr> wrote: 

> 

>> On 02/09/2016 10:06 μμ, Rob wrote: 

>>> In chapter 6 of LFS, we have 

>>> "--disable-multilib" 

>>> specified in the configure instructions. What will happen if I 
don't include that? I have some programs that I want to run which are 32 bit, 
and require 32 bit libs. 

>>> 

>> AFAIK omitting this is needed to build a multilib compiler, 

>> but it's not enough. It needs more to achieve this. Try Google. 

>> 

>> -- 

>> Thanos 

>> -- 

> I don't think you can do multilib in LFS. You need to use CLFS. 

> 

> Hazel 

> 

This is what I meant saying "it needs more to achieve this". 

Not sure about CLFS. Sometime ago Armin's instructions on 

https://github.com/elkrejzi 

worked for me. I don't know if they still do. 

 

-- 

Thanos 

 





====================== End of Forwarded Mail ======================



-- 

http://lists.linuxfromscratch.org/listinfo/lfs-support

FAQ: http://www.linuxfromscratch.org/blfs/faq.html

Unsubscribe: See the above information page




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