I got Cygwin installed, the Sh4/Arm tool chain from the Dev pages, and KOS... had some trouble getting it all set up because none of the tutorials I've found are complete and I'm a newbie, but I think I finally almost have it. I have the environ-dc.sh in my Cygwin root directory, i've tried both . ./environ-dc.sh and source environ-dc.sh ( like it says in the KOS docs on compiling KOS) with the same result.
Anyway, here's what I get but I can't find my pscx.elf anywhere so i don't think it's working yet.
Any ideas what is causing the error? I'm really new at this and although I'm usually good at troubleshooting things even when I have no idea what i'm doing, this one has me stumped
rm -f pcsx.elf romdisk.*
/usr/local/dc/sh-elf/bin/sh-elf-gcc -Wall -g -ml -m4-single-only -02 -fno-builtin -fno-strict-aliasing -fomit-frame-pointer -fno-optimize-sibling-calls -Wcast-align -D__DREAMCAST__ -DPCSX_VERSION=\"1.4"\ -DLOG_STDOUT -I. -I.. -I../Cpu/sh4 -D_arch_deamcast -Ic:/cygwin/usr/local/dc/kos/bin/include -Ic:/cygwin/usr/local/dc/kos/bin/libc/include -Ic:/cygwin/usr/local/kos/bin/kernel/arch/dreamcast/include -c ../PsxBios.c -o ../PsxBios.o
Make.exe: *** [../PsxBios.o] Error -1.