[Picolibc] Integrating Picolibc into a GCC toolchain

R. Diez rdiezmail-newlib at yahoo.de
Sun Jan 30 12:45:24 PST 2022


> On 24.01.22 22:53, Keith Packard wrote:
> crosstool-ng creates this from the following template:
> 
> 	cat << EOF > picolibc-cross.txt
> [binaries]
> c = '${CT_TARGET}-gcc'
> ar = '${CT_TARGET}-ar'
> as = '${CT_TARGET}-as'
> strip = '${CT_TARGET}-strip'
> 
> [host_machine]
> system = '${CT_TARGET_VENDOR}'
> cpu_family = '${CT_TARGET_ARCH}'
> cpu = '${CT_TARGET_ARCH}'
> endian = '${CT_ARCH_ENDIAN}'
> 
> [properties]
> c_args = [ ${meson_cflags} '-nostdlib', '-fno-common', '-ftls-model=local-exec' ]
> needs_exe_wrapper = true
> skip_sanity_check = true
> EOF

I downloaded and unpacked this file:

crosstool-ng-1.24.0.tar.bz2

And I couldn't find anything inside that could be generate picolibc-cross.txt.

Do you know where it is? I could then see how crosstool-ng is generating it, for example, how it is escaping problematic characters.

Thanks in advance,
   rdiez


More information about the Picolibc mailing list