is an extra linkerOpts needed within the “program”...
# kotlin-native
m
is an extra linkerOpts needed within the “program” portion of the konanArtifacts element possibly?
m
I guess it's relative paths not working, try add
${project.rootDir}
prefix to make them absolute.
m
thanks for your response @msink - i was able to proceed a bit further by compiling statically, and following the steps you recommended
now i am faced with the following:
Task :compileKonanPijamsLinux_arm32_hfp
/root/.konan/dependencies/target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-linux-gnu/bin/ld.gold: error: /tmp/included13841739543981309336/libwiringPi.a(wiringPi.o) uses VFP register arguments, output does not /root/.konan/dependencies/target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-linux-gnu/bin/ld.gold: error: /tmp/included13841739543981309336/libwiringPi.a(piHiPri.o) uses VFP register arguments, output does not /root/.konan/dependencies/target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-linux-gnu/bin/ld.gold: error: /tmp/included13841739543981309336/libwiringPi.a(softPwm.o) uses VFP register arguments, output does not /root/.konan/dependencies/target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-linux-gnu/bin/ld.gold: error: /tmp/included13841739543981309336/libwiringPi.a(softTone.o) uses VFP register arguments, output does not error: /root/.konan/dependencies/target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-linux-gnu/bin/ld.gold invocation reported errors
notice im attempting to compile for arm32 but the dependency mentions “error: /root/.konan/dependencies/target-gcc-toolchain-3-linux-x86-64/x86_64-unknown-linux-gnu”
wondering why that linker is being used