Re: YACCQ : checking for the correct version of the gmp/mpfr/mpc libraries... no

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

 



On 2/18/19 7:09 AM, Dennis Clarke wrote:
> So the trick is to use the cross compiler tools in /opt/tools to build a
> fully native compiler for the target machine.  To do that it seems clear
> now that one must have *both* the HOST compiler tools and the TARGET
> tools which are really the cross compiler and linker and assembler.

This is called a Canadian Cross. There are many examples of these, and
scripts and tools available to build them.

You'll need to configure --host=, --target=, and --build=.  It's a
really good idea to build a fully-integrated source tree, with all of
the binutils in the same source tree as gcc. This is called a "Cygnus
tree" after Cygnus, which invented a lot of this stuff. (And,
incidentally, where I used to work.)

One question: do you have the root filesystem for your target machine?
This means target headers and libraries. If you do that'll make things
veru much easier.

http://crosstool-ng.github.io/ is a thing which is supposed to support
Canadian crosses.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



[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