Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

Development applications

Last updated on 3 months ago
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 3 months ago
Thank you, I have often come across mmakefile.src in source codes.
However, there are other cases where, even though the makefile is present, compilation on AROS does not work, such as the software found on this site. The AROS source codes are for a Linux system:

http://www.newbre....com/aros/
D
deadwoodAROS Dev
Posted 3 months ago
You don't need to compile - mmakefile.src. This file just contains instructions how to compile (like Makefile) and it needs the complete AROS build system to work - and building AROS on AROS haven't been tested/haven't worked for several years now I think.
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 3 months ago
A question for the experts: on AROS Native, how do you compile a source file named ‘mmakefile.src’?
D
deadwoodAROS Dev
Posted 7 months ago
There are generally two ways of debugging:

1) using debug build and gdb from linux side - this gives step by step ability + variable lookup. Steep learning curve but pays out in long term.

2) #include <aros/debug.h> and then use bug() function, which works like printf but instead of printing to AROS shell, it prints to linux console on hosted.

PS. keep in mind there are some minimal formatting seetings for AROS codes: use 4 spaces instead of tab and save your files as ISO-8859-15 encoding instead of UTF-8 (setting both of those options is possible in VSCode)
T
TelematixJunior Member
Posted 7 months ago
It worked, now it's time to start debugging!
Is it there a way to do it without using the criptic gdb?
I suppose that there is no way to put several printf lines and read it on the linux console or even on the aros hosted shell I'm launching the program I'm testing, is that true?
D
deadwoodAROS Dev
Posted 7 months ago
You need to provide a target to the make command (also I don't use VSCode meny for that, but command line). In this source code directory where you have your edited source file you will most likely have a file called mmakefile.src. For example in workbench/libs/workbench/mmakefile.src you have a macro build_module with mmake=workbench-libs-workbench. If you changed something in workbench.library, you only need to issue: make workbench-libs-workbench-quick from command line (while being in build directory)
T
TelematixJunior Member
Posted 7 months ago
I have been playing with a file trying to fix something and I have a question.
What should I do in order to compile only my changes and not use the menu?
The option 2 of the menu compiles the whole tree and I only need to compile a file.
D
deadwoodAROS Dev
Posted 7 months ago
Glad everything worked out for you Smile If you have specific AROS development questions, just post them here and we'll try to help out.
T
TelematixJunior Member
Posted 7 months ago
Installed the latest xubuntu, the VSCode and, after following the guide on https://arosnews.github.io/how-to-cross-compile-aros-hosted-wsl/, compiled Aros and could be able to launch it. The problems I used to experience were because I was trying to do the same with the ADT repository.

Now the real challenge arises: to find a ground-level hanging fruit awaiting to be resolved.
Edited by Telematix on 07-05-2025 02:25, 7 months ago
D
deadwoodAROS Dev
Posted 7 months ago
It's hard to say whether you will be able to update it. If you just want to start with some simple development, why not use the native compiler already install on AROSOne? Sure, your editor will be very simple on AROS side, but you have everything there configured. If you get a hand of it, you can then move to cross compilation on Linux. Here is the a tutorial for it: https://arosnews.github.io/how-to-cross-compile-aros-hosted-wsl/. It describe installation under Windows with WSL, but you can skip the initial part as you will be working directly on Linux.
Telematix, ami-elvis
T
TelematixJunior Member
Posted 7 months ago
I will try it. VSCode needs a 64-bit linux so it is time to migrate the old xubuntu x86 I have been using.

I have found this pre-configured development environment: https://vmwaros.blogspot.com/2019/10/a-pre-configured-development-machine.html

Could this environment do the trick after an update?
I have had troubles every time I have set up the environment and, although I have several guides on how to do it, I'm sure I will have problems again this time if I try to install the system from scratch.
M
MazzeAROS Dev
Posted 7 months ago
Cross-compiling with VSCode, too. Sometimes I'm using VSCode's "search in files" function.
Telematix, miker1264
D
deadwoodAROS Dev
Posted 7 months ago
I do most of my development through cross compilation on Linux. As an IDE I use VSCode with a number of plugins. For searching through source codes I just use the "Find" funciton in Midnight Commander.
Telematix, miker1264
T
TelematixJunior Member
Posted 7 months ago
Hello.

What applications do you use for developing?
Is there an IDE or something that could make the life easier than using "nano" or "mousepad" to read the code and "find" and "grep" to find where things are defined or used?

Thank you for your help.
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Users who participated in discussion: deadwood, AMIGASYSTEM, Telematix, Mazze