From: Frank Ludwig <ludwig.frank@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Compiling gcc in the toolchain
Date: Wed, 6 Dec 2006 22:26:06 -0500 [thread overview]
Message-ID: <200612062226.06445.ludwig.frank@gmail.com> (raw)
Hello,
I have been using a buildroot root jail to compile components for a smallish
Linux system I am playing with, and it has so far been working great. With
apparently one exception: I have not been able to produce a gcc executable
that would in turn be able to create programs that would run inside the root
jail (anywhere, actually). Has anyone tried with more success than I have?
How did you pull it off?
I am doing i386 to i386 (with only uclibc making my system "special"), trying
to compile gcc 3.4.2 (and some others), and the most common problem I run
into is a gcc executable that will link to the libraries at addresses
0x00000000.
I don't think I should have to specify host/target (as the jail resembles the
target), and get little difference if I do. One of the many config parameter
sets I tried is that:
./configure \
--prefix=/usr \
--enable-shared \
--enable-threads=posix \
--disable-nls \
--disable-multilib \
--disable-__cxa_atexit \
--with-system-zlib \
--with-sysroot=/ \
--enable-languages=c \
--without-binutils
Any insight would be greatly appreciated!
Frank
(ludwig.frank at gmail.com)
reply other threads:[~2006-12-07 3:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200612062226.06445.ludwig.frank@gmail.com \
--to=ludwig.frank@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox