AmigaPorts / ACE

Amiga C Engine
Mozilla Public License 2.0
155 stars 26 forks source link

Add Bartman's toolchain support #118

Closed tehKaiN closed 4 years ago

tehKaiN commented 4 years ago
tehKaiN commented 4 years ago

I asked Bartman if he can add libnix to his toolchain but it's low on his priority list. Related issue: https://github.com/BartmanAbyss/vscode-amiga-debug/issues/5

There are around 21 fns which are missing. I've added printf-like fns from https://github.com/mpaland/printf which leaves us with 18 unimplemented ones:

tehKaiN commented 4 years ago

I'm getting some undefined reference to low level symbols:

undefined reference to `__muldi3'
undefined reference to `__clzsi2'
undefined reference to `__fixdfsi'
undefined reference to `__udivdi3'
undefined reference to `__ltdf2'
undefined reference to `__floatsidf'
undefined reference to `__muldf3'
undefined reference to `__subdf3'
undefined reference to `__adddf3'
undefined reference to `__divdf3'
undefined reference to `__gtdf2'
undefined reference to `__fixunsdfsi'
undefined reference to `__floatunsidf'
undefined reference to `__ledf2'
undefined reference to `__gedf2'
undefined reference to `__umoddi3'

no idea how to fix it yet

tehKaiN commented 4 years ago

Figure out how to make UAE logging not put \n by itself, or emit \t chars in same print

I asked Bartman to unify his debug interface with that of WinUAE 4.4.0. So it becomes a not completely related issue.

tehKaiN commented 4 years ago

I've currently merged Bartman branch to ptplayer since it's quite stable. I'll try to do remaining tasks tomorrow and close this issue.

tehKaiN commented 4 years ago

done!