Work with embedded C-projects. There are libraries, files, etc. - for microcontrollers. I do not need to use GCC for the host machine and OS (Linux 64 bit battle). Usually...
But now I'm trying to compile the mspdebug project from Github - of course, with GCC. And I get an error at the very beginning of make:
mspdebug$ make
cc -DUSE_READLINE -O1 -Wall -Wno-char-subscripts -ggdb -I. -Isimio -Iformats -Itransport -Idrivers -Iutil -Iui -DLIB_DIR=\"/usr/local/lib/\" -o util/btree.o -c util/btree.c
util/btree.c:19:20: fatal error: assert.h: No such file or directory
^
compilation terminated.
I am looking for inclusion in all possible paths (I have a list of them using the gcc -v command) - assert.h files are also missing, like stdio.h, etc. In addition to the directories of virtual mailboxes, there is only one place (where GCC does not search): / usr / lib / syslinux / com32 / include
AFAIK, all standard libraries and their components are installed with GCC. So I'm trying to reinstall GCC (4.8.4) - nothing changes.
What is the normal way to provide GCC with the entire standard environment it needs?
source
share