This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross-compiling gcc? (sysroot confusion)


On 07.11.2014 11:43, Pierre Ossman wrote:
On Wed, 5 Nov 2014 15:35:16 +0100
Pierre Ossman <ossman@cendio.se> wrote:


If not you can do something like this: --with-gmp=/sysroot (you don't need to add --with-mpfr and --with-mpc as long as you used --with-gmp) --host=i686-pc-linux-gnu --with-build-sysroot=/sysroot --with-sysroot=/

My plan is that that final gcc will be run as /usr/bin/gcc after all
of /sysroot has been moved to a separate machine, yes.

So it sounds like --with-build-sysroot is what I need. Thanks.


Unfortunately this isn't working. The problem is that it tries to test
execute programs. Which of course fails as it won't find ld-linux.


Eh, it should't do that. Try adding --build=${HOST}
But I see now that you are using such an old libc and gcc that my tips probably won't work.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]