Re: Can I build gcc 4.2.4 for 64 bit Intel Solaris 10 on a 64 bit Linux machine?

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

 



Kai Ruottu <kai.ruottu@xxxxxxxxxxx> writes:

> randux@xxxxxxxxx wrote:
>
>> Thanks. I understood from your post that sysroot is used to point to the
>> Solaris files but I couldn't figure out how the end compiler is
>> supposed to know its path when it is finally built, because the sysroot
>> path won't exist on the target machine. I guess this is specified later
>> when building the target compiler somehow.
>
> When producing the "native" GCC, one will not use the '--with-sysroot='
> at all...

Although actually it can sometimes be helpful to use
--with-build-sysroot when building the native compiler.  That will set
the sysroot during the build, for use when building support libraries
(using the cross-compiler).

Ian

[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