Issue: Not able use Check-C framework with arm-none-eabi-gcc compiler

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue: Not able use Check-C framework with arm-none-eabi-gcc compiler

612 Views
Kallappa
Contributor III

Hi,

i am trying to use Check framework for unit testing of C. and i have installed check framework as per the
step given in the below link https://libcheck.github.io/check/web/install.html#aptitude
and trying to compile unit test code using arm-none-eabi-gcc compiler,
but issue is like it is not able to find check.h header file during compilation.
and i have tried to use the same thing with gcc compiler and it is working perfectly fine.
Note :
Environement : Ubuntu 18.04
gcc version : 7.5.0
arm-none-eabi-gcc version : 6.3.1

Console log :
rohit@rohit:~/WorkSpace/Unit_testing/LinStack_UnitTesting/lin-stack-slave/tests$ arm-none-eabi-gcc test_lin.c
test_lin.c:2:19: fatal error: check.h: No such file or directory
#include <check.h>

Kindly help me how to use the check framework with arm-none-eabi-gcc toolchain as i am new to these things.
Thanks in advance

0 Kudos
0 Replies