|
From: | wim |
Subject: | Version intricacies for installing binutils |
Date: | Thu, 10 Jul 2008 22:42:19 +0200 |
Dear Brian, I get back to the binutils problems You suggested me to use the original gcc and as (SUSE 8.0 distribution) About these versions I have gcc --version 2.95.3 as --version GNU assembler 2.11.92.0.10 (SuSE) Copyright 2001 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `i486-suse-linux'. So I started from the very beginning Unfortunately make stops again too early I attach all config.* files from bfd I hope you could give me a further advice. Waiting for a reaction Kind regards Wim Eijsenga ------------------------------------------------------------------------------------------------------------ YOUR ADVICE GIVEN BEFORE On Tuesday 08 July 2008 22:08, you wrote: > wim wrote: > > About the output of the following command: > > gcc -print-prog-name=as > > > > The output is simply: > > > > as > > That was meant to be one single command: > > `gcc -print-prog-name=as` --version > > But anyway, that doesn't really matter. > > > address@hidden:/bin> as --version > > GNU assembler 2.9 > > Copyright 1997 Free Software Foundation, Inc. > > This program is free software; you may redistribute it under the terms of > > the GNU General Public License. This program has absolutely no warranty. > > This assembler was configured for a target of `i686-pc-linux-gnu'. > > So you somehow have a modern gcc 4.2.4 and this ancient 11 year old > assembler? That's the cause of your problem: > > configure:4657: gcc -o conftest -O2 conftest.c >&5 > /tmp/ccBCyz5e.s: Assembler messages: > /tmp/ccBCyz5e.s:23: Warning: Bad .section directive: want a,w,x in > string > /tmp/ccBCyz5e.s:23: Error: Rest of line ignored. First ignored character > is `M'. > > gcc is outputting directives that the assembler doesn't understand > because it's much older. You can't really expect tools with this large > of a version dicrepancy to work together. I don't even understand how > you managed to compile this version of gcc because it's supposed to do > configure checks of the assembler in order to enable functionality, but > that's neither here nor there. > > I suggest that you ditch this self-compiled gcc and use whatever > compiler came with your distro, as it will at least work harmoniously > with this ancient binutils. Use that combination to build a modern > binutils, then rebuild a modern gcc and make sure it uses the updated > binutils (e.g. by putting the new binutils first in PATH before the old > one or by specifying --with-as and --with-ld.) > > Brian
config.cache.gz
Description: GNU Zip compressed data
config.status.gz
Description: GNU Zip compressed data
config.h.gz
Description: GNU Zip compressed data
config.log.gz
Description: GNU Zip compressed data
config.h.gz
Description: GNU Zip compressed data
config.log.gz
Description: GNU Zip compressed data
config.status.gz
Description: GNU Zip compressed data
[Prev in Thread] | Current Thread | [Next in Thread] |