Heya,
I had been using an old tutorial to get my DC Dev setup created when I found the tutorial at http://www.hangar-eleven.de. I went through the entire process as layed out by the tutorial and was met with no errors. When I went to compile KOS I ran into issues of sh-elf-g++ not being found. I had compiled per the instructions for the C++ support so just assumed that this binary would have been created. Is there anything special I need to do to get this binary created in reference to the instructions at http://www.hangar-eleven.de (specifically here: http://www.hangar-eleven.de/en/devdc-gcc-sh4-xgcc.html).
I checked the flags on my sh-elf-gcc and noted I had the ability to compile c++:
So in KOS I tried setting sh-elf-gcc as the compiler for the portions of the KOS source that need it and had the following error:
Any ideas/tips? I'm going to try to start with a clean structure and just do a --enable-languages=c++ to see if it will just create this binary, but I have a feeling that it won't do exactly as needed.
I had been using an old tutorial to get my DC Dev setup created when I found the tutorial at http://www.hangar-eleven.de. I went through the entire process as layed out by the tutorial and was met with no errors. When I went to compile KOS I ran into issues of sh-elf-g++ not being found. I had compiled per the instructions for the C++ support so just assumed that this binary would have been created. Is there anything special I need to do to get this binary created in reference to the instructions at http://www.hangar-eleven.de (specifically here: http://www.hangar-eleven.de/en/devdc-gcc-sh4-xgcc.html).
I checked the flags on my sh-elf-gcc and noted I had the ability to compile c++:
./sh-elf-gcc -v
Configured with: ../gcc-3.0.4/configure --target=sh-elf --prefix=/usr/local/ --w
ithout-headers --with-newlib --enable-languages=c : (reconfigured) ../gcc-3.0.4/
configure --target=sh-elf --prefix=/usr/local/ --without-headers --with-newlib -
-enable-languages=c,c++
Thread model: single
gcc version 3.0.4
So in KOS I tried setting sh-elf-gcc as the compiler for the portions of the KOS source that need it and had the following error:
make[1]: Entering directory `/kos/libk++'
/usr/local//bin/sh-elf-gcc -Wall -g -ml -m4-single-only -O2 -fno-builtin -fno-st
rict-aliasing -fomit-frame-pointer -fno-optimize-sibling-calls -D_arch_dreamcas
t -fno-operator-names -fno-rtti -fno-exceptions -I/kos/include -I/kos/libc/inclu
de -I/kos/kernel/arch/dreamcast/include -I/kos/addons/include -c mem.cc -o mem.o
sh-elf-gcc: mem.cc: C++ compiler not installed on this system
make[1]: *** [mem.o] Error 1
make[1]: Leaving directory `/kos/libk++'
make: *** [build-libk++] Error 2
Any ideas/tips? I'm going to try to start with a clean structure and just do a --enable-languages=c++ to see if it will just create this binary, but I have a feeling that it won't do exactly as needed.