public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How to build stand-alone (statically linked) gcc?
@ 2015-07-31 19:17 David Kang
  2015-07-31 20:01 ` Tim Prince
  2015-08-03  7:42 ` AW: " Warlich, Christof
  0 siblings, 2 replies; 3+ messages in thread
From: David Kang @ 2015-07-31 19:17 UTC (permalink / raw)
  To: gcc-help


 Hi,

 I am building gcc as a cross compiler.
I'm building it on Ubuntu 14.04, but I want to use the gcc binaries on older CentOS machines.
So, far gcc complains that it cannot find proper glibc on the older CentOS machines.

gcc: /lib64/libc.so.6: version `GLIBC_2.8' not found (required by /tmp/gcc)
gcc: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/gcc)
gcc: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by /tmp/gcc)

 Is there a way to build gcc itself such that gcc doesn't need dynamic library for maximum portability?
I'll appreciate any help.

 David


-- 
----------------------
Dr. Dong-In "David" Kang
Computer Scientist
USC/ISI

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-03  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-31 19:17 How to build stand-alone (statically linked) gcc? David Kang
2015-07-31 20:01 ` Tim Prince
2015-08-03  7:42 ` AW: " Warlich, Christof

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).