There really shouldn't be any issues with the ARM libgcc, as it should be built by dc-chain just fine. Not sure what's going wrong there, but I know I've had no problems building it (or at least it works fine under Mac OS X).
EDIT: Ah... its probably that its doing "make install-gcc"... Not sure why that's the way it is in the dc-chain Makefile, it should just be "make install" and things should just work... I'll fix that at some point.
What I believe may be causing that is that somehow your KOS_LDFLAGS has -nostartfiles in it (which it shouldn't for GCC 4.x). After you've sourced your environ script, do "echo $KOS_LDFLAGS" and let me know what it says./dreamcast/kos/lib/dreamcast/libkallisti.a(init.o): In function `arch_shutdown':
/dreamcast/kos/kernel/arch/dreamcast/kernel/init.c:244: undefined reference to `_fini'
/dreamcast/kos/lib/dreamcast/libkallisti.a(init.o): In function `arch_main':
/dreamcast/kos/kernel/arch/dreamcast/kernel/init.c:196: undefined reference to `_init'
collect2: ld returned 1 exit status
make: *** [2ndmix.elf] Error 1
Can anyone tell me what's causing these symbol errors?
For reference, here's what mine say (and I know my toolchain works just fine):
$ echo $KOS_LDFLAGS
-ml -m4-single-only -Wl,-Ttext=0x8c010000 -T/Users/lj/Projects/clean/cadcdev/kos/utils/ldscripts/shlelf.xc -nodefaultlibs -L/Users/lj/Projects/clean/cadcdev/kos/lib/dreamcast -L/Users/lj/Projects/clean/cadcdev/kos/addons/lib/dreamcast
Bookmarks