BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
312 stars 39 forks source link

Replace exe2adf with amitools #135

Closed lw64 closed 1 year ago

lw64 commented 1 year ago

The "amitools" suite (https://github.com/cnvogelg/amitools) is compared to "exe2adf" open source. It would be good to use it instead of exe2adf.

BartmanAbyss commented 1 year ago

yeah, but it requires python :(

lw64 commented 1 year ago

At least for Linux/Mac os it would be no problem. And I don't think it is too much a barrier for people to install python.

BartmanAbyss commented 1 year ago

I really like the extension to be free of dependencies or manual installs.

lw64 commented 1 year ago

I guess it is a problem on Windows. I don't use it so... :)

lw64 commented 1 year ago

I also would like to have meson instead of GNU Make as the buildsystem. It is so much more modern and enables lots of other interesting features. But it also depends on Python.

BartmanAbyss commented 1 year ago

I understand. But it is the goal to keep everything simple so everyone can start using it without a steep learning curve.

lw64 commented 1 year ago

Well. Makefiles are much harder to read.

BartmanAbyss commented 1 year ago

Sure. But most folks won't even have to touch the makefile. Ofcourse you're free to use whatever build tool you like. The template project is more of a minimal effort thing to get started.

lw64 commented 1 year ago

I see. Would it be possible to have multiple templates?

eli-schwartz commented 1 year ago

Please note in the Meson FAQ: https://mesonbuild.com/FAQ.html#but-i-really-want-a-version-of-meson-that-doesnt-use-python

You can use muon, a c99 reimplementation of Meson (Meson is designed so that reimplementing it in another language should not be an undue burden). Muon publishes prebuilt amd64 binaries, it is 4.5mb statically linked with all dependencies, and 0.5mb dynamically linked.

Yes, you need to depend on something, but it's not as heavyweight as Python. Furthermore, you currently depend on GNU make, and how do you know that's installed?

tehKaiN commented 1 year ago

I don't use Meson but CMake-based tooling and setting it up with the bundled compiler requires some steps, but generally speaking it's a one-time and straightforward procedure. I assume it's the same for meson, so why bundle it? Since GNU make is part of GCC suite, I guess it's reasonable enough to have it shipped with extension. Everything extra is making it bigger and bloated.

Also amitools vs exe2adf - most programmers nowadays have python on their computer, but I'm not sure if such dependency is really desired. I mean, if you want to use it then just on your end, but amitools doesn't have a killer feature which would outclass exe2adf.