Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Statically linked compiler, linker, ... executables
@ 2007-05-15  8:08 Michael Hunold
  0 siblings, 0 replies; only message in thread
From: Michael Hunold @ 2007-05-15  8:08 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-15  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15  8:08 [Buildroot] Statically linked compiler, linker, ... executables Michael Hunold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox