denizzzka / dfruntime

Runtime library for the D language with custom targets support
Other
0 stars 1 forks source link

Unable to build runtime for Cortex-M4 #3

Open holycarrot opened 3 months ago

holycarrot commented 3 months ago

Error:

$ meson setup --optimization=s --prefix=$(pwd)/install_cortex-m4/ --cross-file meson/arm_cortex_m4_cross.ini build_debug_druntime_cortex-m4
...
meson.build:124:87: ERROR: Unknown method "full_path" in object <[FileHolder] holds [File]: <File: ldc2_druntime.conf>> of type FileHolder.
denizzzka commented 3 months ago

I sucessfully build for ARM with these commands right now:

~/Dev/meson/meson.py setup --optimization=s --prefix=$(pwd)/install_freertos/ --cross-file meson/arm_cortex_m4_cross.ini build_meson_freertos_arm

ninja -C build_meson_freertos_arm/ -j8 --verbose \
    libdruntime-ldc-debug.a \
    libphobos2-ldc-debug.a \
    install

I use lastest ~master version of Meson