Re installed on c
and now its working... git is working, wget is working its currently downloading gcc 4.7.3
Edit (13:32) And compiling
Edit (14:23) Still compiling, on the current machine it would normally have failed by now
Edit (14:46) Compiling ARM cross compiler
Edit (15:16) Its run through, looking promising
OK its built, the only obvious problem i have now is that genromfs is not working and therefore i cannot build some of the demos
Apparently its not finding netinet/in.h even though the file is plainly there
Attempting to make nehe
02 and 05 seem to work 06 fails as do other kgl demos
Code: Select all
$ make
make -C nehe02
make[1]: Entering directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/nehe/nehe02'
rm -f nehe02.elf
/opt/toolchains/dc/sh-elf/bin/sh-elf-gcc -O2 -fomit-frame-pointer -ml -m4-single-only -ffunction-sections -fdata-sections -I/opt/toolchains/dc/kos/include -I/opt/toolchains/dc/kos/kernel/arch/dreamcast/include -I/opt/toolchains/dc/kos/addons/include -I/opt/toolchains/dc/kos/../kos-ports/include -I/opt/toolchains/dc/kos/include -I/opt/toolchains/dc/kos/kernel/arch/dreamcast/include -I/opt/toolchains/dc/kos/addons/include -I/opt/toolchains/dc/kos/../kos-ports/include -D_arch_dreamcast -D_arch_sub_pristine -Wall -g -fno-builtin -fno-strict-aliasing -ml -m4-single-only -Wl,-Ttext=0x8c010000 -Wl,--gc-sections -T/opt/toolchains/dc/kos/utils/ldscripts/shlelf.xc -nodefaultlibs -L/opt/toolchains/dc/kos/lib/dreamcast -L/opt/toolchains/dc/kos/addons/lib/dreamcast -L/opt/toolchains/dc/kos/../kos-ports/lib -o nehe02.elf \
main.o -L/opt/toolchains/dc/kos/lib -lGL -lm -Wl,--start-group -lkallisti -lc -lgcc -Wl,--end-group
make[1]: Leaving directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/nehe/nehe02'
make -C nehe05
make[1]: Entering directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/nehe/nehe05'
rm -f nehe05.elf
/opt/toolchains/dc/sh-elf/bin/sh-elf-gcc -O2 -fomit-frame-pointer -ml -m4-single-only -ffunction-sections -fdata-sections -I/opt/toolchains/dc/kos/include -I/opt/toolchains/dc/kos/kernel/arch/dreamcast/include -I/opt/toolchains/dc/kos/addons/include -I/opt/toolchains/dc/kos/../kos-ports/include -I/opt/toolchains/dc/kos/include -I/opt/toolchains/dc/kos/kernel/arch/dreamcast/include -I/opt/toolchains/dc/kos/addons/include -I/opt/toolchains/dc/kos/../kos-ports/include -D_arch_dreamcast -D_arch_sub_pristine -Wall -g -fno-builtin -fno-strict-aliasing -ml -m4-single-only -Wl,-Ttext=0x8c010000 -Wl,--gc-sections -T/opt/toolchains/dc/kos/utils/ldscripts/shlelf.xc -nodefaultlibs -L/opt/toolchains/dc/kos/lib/dreamcast -L/opt/toolchains/dc/kos/addons/lib/dreamcast -L/opt/toolchains/dc/kos/../kos-ports/lib -o nehe05.elf \
main.o -L/opt/toolchains/dc/kos/lib -lGL -lm -Wl,--start-group -lkallisti -lc -lgcc -Wl,--end-group
make[1]: Leaving directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/nehe/nehe05'
make -C nehe06
make[1]: Entering directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/nehe/nehe06'
rm -f nehe06.elf
/opt/toolchains/dc/kos/utils/genromfs/genromfs -f romdisk.img -d romdisk -v
make[1]: /opt/toolchains/dc/kos/utils/genromfs/genromfs: Command not found
make[1]: *** [Makefile:28: romdisk.img] Error 127
make[1]: Leaving directory '/opt/toolchains/dc/kos/examples/dreamcast/kgl/nehe/nehe06'
make: *** [Makefile:14: _dir_nehe06] Error 2
Code: Select all
MINGW32 /opt/toolchains/dc/kos/utils/genromfs
$ make
cc -O2 -Wall -c -o genromfs.o genromfs.c
genromfs.c:82:79: fatal error: netinet/in.h: No such file or directory
#include <netinet/in.h> /* Consts & structs defined by the internet system */
^
compilation terminated.
make: *** [<builtin>: genromfs.o] Error 1
Hmmm if i copy in a genromfs.exe it asks for a cygwin1.dll
If i copy in a cygwin1.dll it seems to be mismatched i need a pair i think