Re: YACCQ : Yet Another Cross Compiler Question ... cannot compute suffix of object files

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

 



On 2/17/19 10:03 PM, Jonathan Wakely wrote:
> On Sun, 17 Feb 2019 at 06:47, Dennis Clarke <dclarke@xxxxxxxxxxxxx> wrote:
>> I even built libgmp and libmpfr and libmpc with that cross compiler
>> tool set and dropped the results into the target RISC-V boxen
>> rootfs /usr/local/lib area :
> 
> ... why?
> 
> A cross-compiler needs those libs for the host GCC binaries, what's
> the point of building them for the target?
> 

I needed to verify ( and figure out ) that I could build something more
complex than "hello world" for the target system and then also use them
as dependencies unto themselves without ever needing to actually boot
and run the target system. That all works. So I know that the cross
compiler I build from the RISC-V project actually works as intended.

see : https://github.com/riscv/riscv-gnu-toolchain

Dennis



[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