Page 4 of 4

Re: How to build or setup working tool chain for libronin ?

Posted: Mon Jan 24, 2022 12:08 pm
by Ian Micheal
megavolt85 wrote:arm toolchain used from KOS
now need download libronin dev from histat repo and build
Ok i have to build kos then started clean just building it with out kos tool chain..


I guess i will have to start again build kos toolchain then do this ..

Re: How to build or setup working tool chain for libronin ?

Posted: Mon Jan 24, 2022 12:54 pm
by megavolt85
Ian Micheal wrote: Ok i have to build kos then started clean just building it with out kos tool chain..
no, you just need to collect another toolchain for KOS
the toolchain for libronin is already built for you, it is located in a different directory and will not interfere

Re: How to build or setup working tool chain for libronin ?

Posted: Mon Jan 24, 2022 2:10 pm
by Ian Micheal
Ok i will have to start again still did not work it all built but i had the same path problem as dreamsdk i edited bashrc and put the export same problem ... back to the drawing board again

Code: Select all

for h in cdfs.h common.h dc_time.h gddrive.h gfxhelper.h gtext.h maple.h matrix.
h misc.h notlibc.h report.h ronin.h serial.h sincos_rroot.h soundcommon.h sound.
h ta.h translate.h video.h vmsfs.h; do ln -s -f ../../$h include/ronin/; done
ln -s -f ../zlib/zlib.h ../zlib/zconf.h include/
ln -s -f ../lwipopts.h include/
cd include/lwip && ln -s -f ../../lwip/include/lwip/.h ./
cd include/lwip && ln -s -f ../../lwip/include/ipv4/lwip/.h ./
cd include/netif && ln -s -f ../../lwip/include/netif/.h ./
cd include/netif && ln -s -f ../../lwip/arch/dc/include/netif/.h ./
cd include/arch && ln -s -f ../../lwip/arch/dc/include/arch/*.h ./
sh-elf-as -little crt0.s -o lib/crt0.o
make: sh-elf-as: Command not found
make: *** [Makefile:90: lib/crt0.o] Error 127
I put the correct path it just never finds it.. crazy

Re: How to build or setup working tool chain for libronin ?

Posted: Mon Jan 24, 2022 2:21 pm
by megavolt85
test with my Makefile
Makefile.zip
(3.05 KiB) Downloaded 224 times

Re: How to build or setup working tool chain for libronin ?

Posted: Tue Jan 25, 2022 8:32 am
by Ian Micheal
megavolt85 wrote:test with my Makefile
Makefile.zip
Going to test today i wonder if we can turn this in to docker file or script for easy building for people.. I did notice nx engine port has things we need to get working cdda scummvm has ported api's to suit libronin

thank you..

Re: How to build or setup working tool chain for libronin ?

Posted: Wed Jan 26, 2022 8:18 pm
by Ian Micheal
major problem i got your tool chain zipped unpacked it and it would not work but it should be simple to build kos http://gamedev.allusion.net/softprj/kos/git.php but it will not build the bin utils at all always fails