Re: Building Relocatable gcc

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

 



Kyle Girard <kyle@xxxxxxxxxxxxxxxx> writes:

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

What do you mean by relocatable?

If you use just the --prefix=DIR option, and run "make" and "make
install", then you can move the directory DIR wherever you like and
everything should continue to work.

Ian


[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