Re: Specifying where Binutils is and what it is called

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

 



On Sun, Apr 19, 2020 at 8:14 AM R. Diez via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
> The steps would look like this:
> - Build and install Binutils with --prefix=/final/destination
> - Build and install GCC phase 1 (minimal compiler) with --prefix=/temporary/destination
> - Build and install Newlib with GCC phase 1 with --prefix=/final/destination
> - Build and install GCC phase 2 with --prefix=/final/destination
> - At this point, we could delete /temporary/destination

It looks like the simple solution is to just build and install
binutils twice.  Once into temporary destination and once into final
destination.  Then each compiler will be able to find binutils.  If
you want to optimize this, you might be able to build binutils once,
and install it twice, overriding prefix at install time to put it in
the other install dir.

Jim



[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