Setting linker in cross file not working properly

11 views
Skip to first unread message

Andrew Gillan

unread,
Feb 24, 2023, 12:24:21 PM2/24/23
to The Meson Build System
I am using the Microchip xc8 toolchain in my cross build. I set the compiler and linker as follows:

[binaries]
c = 'xc8-cc'
c_ld = 'xc8-cc'

The compilation works properly, but meson attempts to use xc16-gcc when linking instead.

Am I missing something about setting the linker properly?

Regards,
Andrew
Reply all
Reply to author
Forward
0 new messages