undefined reference to `_exit'
I’ve transferred IAR code to system workbench for STM32 but getting the folloing error while building:
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Wl,-Map=output.map -Wl,
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.0.0.201410081102/tools/compiler/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib/armv7e-m\libc.a(lib_a-exit.o): In function `exit’:
exit.c:(.text.exit+0x16): undefined reference to `_exit’
collect2.exe: error: ld returned 1 exit status
Can anyone help.
Thanks
Jitendra