Re: Cross-compiling gcc? (sysroot confusion)

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

 



On 07.11.2014 11:43, Pierre Ossman wrote:
On Wed, 5 Nov 2014 15:35:16 +0100
Pierre Ossman <ossman@xxxxxxxxx> 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 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