Вот что пытаюсь собрать:
Код
int main()
{
}
{
}
Вот настройки проекта sublime text2:
Код
{
"folders":
[
{
"path": "."
}
],
"build_systems":
[
{
"name": "arm build",
"cmd": ["make"],
"working_dir": "${project_path}"
}
],
"settings":
{
"sublimeclang_options":
[
"-std=c++11",
"-Wall",
"-I${project_path}"
]
}
}
"folders":
[
{
"path": "."
}
],
"build_systems":
[
{
"name": "arm build",
"cmd": ["make"],
"working_dir": "${project_path}"
}
],
"settings":
{
"sublimeclang_options":
[
"-std=c++11",
"-Wall",
"-I${project_path}"
]
}
}
Содержимое makefile:
Код
all:
arm-none-eabi-gcc main.cpp
arm-none-eabi-gcc main.cpp
Вот что получаем на выходе:

Код
arm-none-eabi-gcc main.cpp
c:/program files (x86)/gnu tools arm embedded/4.8 2014q2/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
collect2.exe: error: ld returned 1 exit status
make: *** [all] Error 1
[Finished in 0.4s with exit code 2]
c:/program files (x86)/gnu tools arm embedded/4.8 2014q2/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
collect2.exe: error: ld returned 1 exit status
make: *** [all] Error 1
[Finished in 0.4s with exit code 2]
Как вы думаете, в чем проблема?
проект прикрепляю: