Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gcc with static gmp & mpfr
@ 2008-12-03  9:33 Hinko Kocevar
  0 siblings, 0 replies; only message in thread
From: Hinko Kocevar @ 2008-12-03  9:33 UTC (permalink / raw)
  To: buildroot

Hi,

I want to build a toolchain that is possible to move between different machines (under the same folder /usr/local/cris-uclibc). When using '-lm' to link final application binary I encountered problems about missing gmp and/or mpfr missing symbols!? Also each target machine that want to use the toolchain needs to provide their own libgmp and libmpfr..

Is there a simple way of forcing gcc to use only static gmp and mpfr libraries?

Note, I've changed '--enable-shared' -> '--disable-shared' in both packages, but I've broke dependencies on shared objects that their makefiles rely on, causing recompilation of gmp and mpfr for every make invocation.

Thank you,
Hinko
-- 
Hinko Ko?evar, OSS developer
?ETRTA POT, d.o.o.
Planina 3, 4000 Kranj, SI EU
tel     ++386 (0) 4 280 66 03
e-mail  hinko.kocevar at cetrtapot.si
http    www.cetrtapot.si

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

only message in thread, other threads:[~2008-12-03  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03  9:33 [Buildroot] gcc with static gmp & mpfr Hinko Kocevar

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