c[ode]clap » Forums » OSX Version?
ProfessorSil
Taylor Robbins
19 posts
1 project

I love programming and the joy that comes from creating useful things. I'm the author of Const Port. I like to make toy games as a hobby.

#13221 OSX Version?
1 month, 1 week ago

Hello! I've just become a patron. Hope the project keeps moving forward nicely. I'm hoping to use it here soon when I go to do a Linux port of Const Port. I'll let you know if I encounter any problems then.

I wanted to ask quickly if there was any plan for an OSX version of c[ode]clap? I know it's probably not exactly the #1 priority on your list of things to do but if it is in your sights for later it would be nice to know.

Also, if you're interested in a little outside help I'd be happy to help however I can. For example, creating an OSX version would be something I could look into ;) I've never done a real port before but I'm going through implementing a OSX platform layer for Const Port right now. I know implementing another person into the project is not the easiest thing, especially at these early stages of development, but if you're at all interested, or have any questions for me, you can email me at [email protected]

I look forward to seeing where c[ode]clap goes!
-Taylor Robbins

-Professor Sil
spx
38 posts
1 project
#13227 OSX Version?
1 month, 1 week ago

Feel free to not only post about problems you may encounter but I'd also love to here if you are missing some functionality that may have helped you out in certain situations. There are still features missing but it doesn't hurt to emphasize the need for something instead of forgetting about it.

Ideally my "ultimate goal" is to have c[ode]clap available on all major platforms. I started with Linux because this is the platform that in my opinion has the biggest need for something like this and also reflects my personal requirements. I've played around a bit with which parts of the debugging core would have to be ported in order to support mingw64 Windows (which basically just removes the requirement for pdb in favor of DWARF); iinm OS X uses DWARF as well so the effort should be similar, probably a bit less because the BSD roots of OS X should be more similar to Linux.

I will definitely keep your offer in mind. But (as per current plans) I will not consider compatibility to other platforms until a more substantial portion of the basic functionality is implemented and out-of-process debugging is supported which will bring a much better way to support different OS call, binary format and debugging format interfaces. Very likely this would also be required to provide a good way to integrate "external" extensions to these functions.

In any case the project will definitely move forward and I will give my best to be as flexible as possible in this process.
ProfessorSil
Taylor Robbins
19 posts
1 project

I love programming and the joy that comes from creating useful things. I'm the author of Const Port. I like to make toy games as a hobby.

#13234 OSX Version?
1 month, 1 week ago

Thanks for the reply!

I didn't realize OSX uses DWARF. That would make it a bit harder to port. In that case I agree that Linux needs it the most and it's probably not worth doing any other platforms atm.

I will keep a list of bugs/notes/missing features when I go to use it (in the next couple weeks probably) and then post a review when I get there.

Good luck on the project!
-Taylor Robbins

-Professor Sil
spx
38 posts
1 project
#13235 OSX Version?
1 month, 1 week ago Edited by on Oct. 10, 2017, 9:17 a.m.

sorry for not being clear. DWARF is also what Linux uses for debugging information and what can be used on Windows when using mingw64.
There is some information about OS X written here https://lldb.llvm.org/symbols.html.

But of course there are still lots of differences. The system interface (kernel), the binary format, maybe the calling convention (I know/have read that it has some differences on Windows), apparently storage of the debugging symbols.
godratio
Ray Garner
41 posts
#13368 OSX Version?
2 weeks, 5 days ago

I second the motion for OSX debugger. We only have XCode and I have been doing command line clang builds here and have been using lldb command line debugger since its all we have on OSX.

An OSX port when the time is appropriate will earn my support for sure.