* i686 Multilib Question
@ 2012-06-14 0:47 Armin K.
2012-06-14 3:46 ` Ian Lance Taylor
0 siblings, 1 reply; 3+ messages in thread
From: Armin K. @ 2012-06-14 0:47 UTC (permalink / raw)
To: gcc-help
Hi there, this is my first post on gcc mailing lists.
I have currently i686 system (Linux From Scratch) and I would like to
bootstrap multilib compiler on that one. The problem is, I don't have
any working multilib compiler, only i686 one. And I don't know where to
start.
I have tried first enabling multilib and all targets in binutils, then
statically compiling gcc.
I ran into problems in bootstrap stage and tought it was a bug. A more
detailed report about this can be found in bug report
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53662
Has anyone managed to bootstrap multilib compiler using i686 one? I
would like to have i686 compiler, but also I want to be able to use -m64
which is done by multilib right? I am aware that I need multilib
binutils, static gcc to compile multilib glibc and use it to bootstrap
full gcc with shared libraries and such. Am I right? But I am unable to
accomplish that. Could anyone guide me in right direction? Google does
not help very much. And yes, I want this. I don't want to install or
build 64 bit operating system.
Regards.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: i686 Multilib Question
2012-06-14 0:47 i686 Multilib Question Armin K.
@ 2012-06-14 3:46 ` Ian Lance Taylor
[not found] ` <4FD9BB40.2030507@email.com>
0 siblings, 1 reply; 3+ messages in thread
From: Ian Lance Taylor @ 2012-06-14 3:46 UTC (permalink / raw)
To: Armin K.; +Cc: gcc-help
"Armin K." <krejzi@email.com> writes:
> I have currently i686 system (Linux From Scratch) and I would like to
> bootstrap multilib compiler on that one. The problem is, I don't have
> any working multilib compiler, only i686 one. And I don't know where
> to start.
>
> I have tried first enabling multilib and all targets in binutils, then
> statically compiling gcc.
>
> I ran into problems in bootstrap stage and tought it was a bug. A more
> detailed report about this can be found in bug report
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53662
>
> Has anyone managed to bootstrap multilib compiler using i686 one? I
> would like to have i686 compiler, but also I want to be able to use
> -m64 which is done by multilib right? I am aware that I need multilib
> binutils, static gcc to compile multilib glibc and use it to bootstrap
> full gcc with shared libraries and such. Am I right? But I am unable
> to accomplish that. Could anyone guide me in right direction? Google
> does not help very much. And yes, I want this. I don't want to install
> or build 64 bit operating system.
In order to build a GCC that can build 64-bit binaries, you need to have
a 64-bit C library and 64-bit binutils installed. Do you?
There is a shell script config.guess in the top level GCC directory.
When you run it, does it print x86_64-unknown-linux-gnu or
i686-unknown-linux-gnu? If it prints i686, that suggests that uname -m
on your system prints i686, and that suggests that your kernel is not
running in 64-bit mode.
Ian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-14 22:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 0:47 i686 Multilib Question Armin K.
2012-06-14 3:46 ` Ian Lance Taylor
[not found] ` <4FD9BB40.2030507@email.com>
[not found] ` <mcry5np7u0t.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
[not found] ` <4FDA4FA0.1070503@email.com>
[not found] ` <mcrk3z95z5v.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
2012-06-14 22:06 ` Armin K.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).