New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SylixOS嵌入式实时操作系统上移植coost #270
Comments
处理器是 ARM Cortex-A9 |
gcc-arm-none-eabi是裸机的编译器,简单说也就是没法用操作系统api(因为它既不是linux也不是其他os)。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
编译器采用gcc-arm-none-eabi
在编译context_arm.S时,出现如下问题
make all arm-sylixos-eabi-gcc -mcpu=cortex-a9 -mno-unaligned-access -O0 -g3 -gdwarf-2 -Wall -fmessage-length=0 -fsigned-char -fno-short-enums -fno-strict-aliasing -x assembler-with-cpp -DSYLIXOS -D__linux__ -D__ARM_ARCH_7A__ -DSYLIXOS_LIB -I"D:\SylixOS_WS\workspace\coost/include" -I"D:/SylixOS_WS/workspace/ArmLite/libsylixos/SylixOS" -I"D:/SylixOS_WS/workspace/ArmLite/libsylixos/SylixOS/include" -I"D:/SylixOS_WS/workspace/ArmLite/libsylixos/SylixOS/include/network" -MMD -MP -MF ./Debug/dep/libcoost.so/src/co/context/context_arm.d -c src/co/context/context_arm.S -o Debug/obj/libcoost.so/src/co/context/context_arm.o src/co/context/context_arm.S: Assembler messages: src/co/context/context_arm.S:102: Error: bad instruction
function tb_context_make,export=1'src/co/context/context_arm.S:142: Error: bad instruction
endfunc' src/co/context/context_arm.S:152: Error: bad instruction
function tb_context_jump,export=1'src/co/context/context_arm.S:204: Error: bad instruction
endfunc' make: *** [Debug/obj/libcoost.so/src/co/context/context_arm.o] Error 1
无法识别汇编代码中的 function 以及 endfunc
The text was updated successfully, but these errors were encountered: