Open yuzu-ogura opened 6 months ago
As far as I know, this is expected as all programs are libraries in VxWorks. Have you tried to load and run the resulting program/library in a VxWorks system?
As far as I know, this is expected as all programs are libraries in VxWorks. Have you tried to load and run the resulting program/library in a VxWorks system?
First of all, thank you very much for your quick reply. I load the generate file like below: It seems that could not find such symbols.
Sorry, I do not remember a lot about this. Probably you need to link either stdc++
, supc++
or libgcc
. See https://github.com/iit-danieli-joint-lab/idjl-gcc-vxworks/blob/master/idjl_vxworks_toolchain.cmake.in#L52-L83 . Probably you can check where the those symbols are defined with nm
or similar commands.
That's okay. Thank you for your answer
I use this helper script on windows. first step, I open the git bash terminal, then source the setup.sh.This step is ok. next step, I write a simple test "helloworld", and write a CMakeList.txt, seeing blow: file list main.cpp CMakeLists.txt last step, I execute two coommands like below: 1、cmake 2、ninja look at the red rectangle, generate result is a relocatable file, not an executable file, please tell me where the mistake is?