Re: make compiled a lot of programs, but not gcc

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

 



On 2/19/20 7:36 AM, Marco Sulla wrote:
> Thank you a lot. I noticed indeed that produced `xgcc` was used in a
> second stage of compilation, and that `./xgcc --version` gave to me
> [GCC] in the description. But I wanted to be sure, since `xgcc` is
> commonly known as a cross-compiler version of `gcc`.

The right way to make a gcc, even for use only once, is to configure
gcc with a --prefix <target dir> and then make install.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
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