Hi Swat, I was already able to compile it but I had to add an argument -r -Wl (I really don't know what it's for), here:
Код:
ifndef NO_LD_DEBUG
#$(KOS_CC) -g -ml -m4-single-only -O2 -g -Wl, -Ttext=0x00000000 -e _start -nostartfiles -nodefaultlibs -o dbg-$(TARGET) $(OBJS) $(KOS_LIB_PATHS) - Wl,--start-group $(LIBS) $(DBG_LIBS) $(DBG_GCC_LIB) -Wl,--end-group
$(KOS_CC) -g -ml -m4-single-only -O2 -g -Wl,-r -Wl,-Ttext=0x00000000 -e _start -nostartfiles -nodefaultlibs -o dbg-$(TARGET) $(OBJS) $ (KOS_LIB_PATHS) -Wl,--start-group $(LIBS) $(DBG_LIBS) $(DBG_GCC_LIB) -Wl,--end-group
endif
But now it shows this error when opening the app:
symbol '___cxa_atexit' is undefined
what is that?
I made a video
https://youtu.be/XgMAMO5B7Io