From: Michael Hunold <hunold@linuxtv.org>
To: buildroot@busybox.net
Subject: [Buildroot] Statically linked compiler, linker, ... executables
Date: Tue, 15 May 2007 10:08:37 +0200 [thread overview]
Message-ID: <46496A85.30201@linuxtv.org> (raw)
Hello all,
I used a recent buildroot to build a straight-forward MIPS toolchain on
my Ubuntu 7.04 host which went perfectly fine.
I now have my toolchain in /opt/mytoolchain/.
foo at bar: file /opt/mytoolchain/bin/mips-linux-uclibc-gcc
/opt/mytoolchain/bin/mips-linux-uclibc-gcc: ELF 32-bit LSB executable,
Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked
(uses shared libs), stripped
Is it possible to tell buildroot (or somebody else in the whole build
process) that the resulting executables for the compiler (in this case
mips-linux-uclibc-gcc) and all the other executables should be
statically linked?
I need to deploy these toolchains to various machines of different age.
The first machine I tried was a Fedora Core 4 machine and starting the
compiler resulted in the following error messages:
/opt/mytoolchain/bin//mips-linux-uclibc-gcc: /lib/libc.so.6: version
`GLIBC_2.4' not found (required by
/opt/mytoolchain/bin//mips-linux-uclibc-gcc)
I think that statically linked executables will overcome this problem.
If you have another suggestion, please let me know.
Best regards
Michael.
reply other threads:[~2007-05-15 8:08 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=46496A85.30201@linuxtv.org \
--to=hunold@linuxtv.org \
--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