If I install DC Dev ISO R4 as is and update to the KOS directory to the latest revision, what do I need to download and what do I need to do to have usable versions of GCC 4.4.4, Binutils 2.20.1 and Newlib 1.18.0? How do I update the toolchain?
Edit: I thought I'd have to download the source and compile each of the libraries, but the Cygwin had a relatively up-to-date GCC 4.5.0 and binutils. gcc -dumpversion from the console shows the compiler is at 4.5.0, so everything looks OK there. I tried recompiling KOS but I received the same _flock error.
Here is the error:
Quote:
kos-c++ -c mem.cc -o mem.o
In file included from /usr/local/dc/sh-elf/lib/gcc/sh-elf/3.4.6/../../../../sh-elf/include/sys/reent.h: 14,
from /usr/local/dc/sh-elf/lib/gcc/sh-elf/3.4.6/../../../../sh-elf/include/stdio.h:45,
from mem.cc:10:
/usr/local/dc/kos/kos/include/sys/_types.h:78: error: `__newlib_recursive_lock_t' does not name a type
In file included from /usr/local/dc/sh-elf/lib/gcc/sh-elf/3.4.6/../../../../sh-elf/include/stdio.h:45,
from mem.cc:10:
/usr/local/dc/sh-elf/lib/gcc/sh-elf/3.4.6/../../../../sh-elf/include/sys/reent.h:203: error: `_flock_t' does not name a type
It appears the problem is in the usr/local/dc/sh-elf section. How do you update that area?
Edit 2: It looks like I need to be in /utils/dc-chain/ to rebuild the sh-elf / arm-elf sections. What do I type? When I run make from there, it asks me to specify files.