Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bartman's toolchain support #118

Closed
16 tasks done
tehKaiN opened this issue Jun 2, 2020 · 5 comments
Closed
16 tasks done

Add Bartman's toolchain support #118

tehKaiN opened this issue Jun 2, 2020 · 5 comments
Assignees

Comments

@tehKaiN
Copy link
Member

tehKaiN commented Jun 2, 2020

  • Create toolchain file for CMake
  • Add support to ACE's CMakeLists file
  • Add proper macros in ace/types.h
  • Implement or get rid of missing stdlib fns
  • Fix link errors
  • Add support for Bartman's UAE logging
  • Fix mini_std problems
  • Fix include mess
  • Add setup instructions to docs
  • Figure out how to make UAE logging not put \n by itself, or emit \t chars in same print - moved to separate issue: Figure out how to make UAE logging not put \n by itself #128
  • Add proper license info in repo for mini_std
@tehKaiN
Copy link
Member Author

tehKaiN commented Jun 2, 2020

I asked Bartman if he can add libnix to his toolchain but it's low on his priority list. Related issue: BartmanAbyss/vscode-amiga-debug#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:

  • 8 filesystem fns - must be implemented using OS
  • 2 ctype fns for fixmath
  • exit()
  • 7 string.h fns

@tehKaiN
Copy link
Member Author

tehKaiN commented Jun 3, 2020

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
Copy link
Member Author

tehKaiN commented Jul 25, 2020

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
Copy link
Member Author

tehKaiN commented Jul 25, 2020

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 tehKaiN self-assigned this Jul 26, 2020
tehKaiN added a commit that referenced this issue Jul 26, 2020
@tehKaiN
Copy link
Member Author

tehKaiN commented Jul 26, 2020

done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant