nerves-project / nerves_system_x86_64

Apache License 2.0
20 stars 16 forks source link

Fix toolchain selection to use Nerves toolchain #171

Closed fhunleth closed 2 years ago

fhunleth commented 2 years ago

The Buildroot 2022.05 update requires one more configuration to use the toolchain parameters in the nerves_defconfig. Without it, the default external gcc 11.2-based glibc toolchain was used instead. Most things worked, but any C programs compiled with elixir_make would not. Those programs rightfully refered to the muslc-supplied dynamic loader with didn't exist in the Nerves system since it had the glibc-supplied dynamic loader.