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

Dennis Clarke dclarke@blastwave.org
Mon Feb 18 05:16:00 GMT 2019


On 2/17/19 10:03 PM, Jonathan Wakely wrote:
> On Sun, 17 Feb 2019 at 06:47, Dennis Clarke <dclarke@blastwave.org> 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



More information about the Gcc-help mailing list