This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Building Relocatable gcc
- From: Kyle Girard <kyle at kdmanalytics dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 26 Jan 2011 10:27:41 -0500
- Subject: Building Relocatable gcc
Can anyone point me to or show me a basic set of configure args that I
can use to compile a relocatable gcc toolchain on linux? I'm not cross
compiling or anything (host and target are both 32 linux) After reading
the docs I thought that I basically just had to use the options
--with-sysroot and --prefix with equal values for binutils and gcc and
everything should work however during the build of gcc it fails to find
headers. What am I missing? Do I need to somehow create a cross
compiler from 32bit linux to 32bit linux? Any help is appreciated.
Cheers
Kyle