How to build stand-alone (statically linked) gcc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux