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 10 days ago
T
TelematixJunior Member
Posted 16 days 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.
D
deadwoodAROS Dev
Posted 16 days 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
M
MazzeAROS Dev
Posted 16 days ago
Cross-compiling with VSCode, too. Sometimes I'm using VSCode's "search in files" function.
Telematix, miker1264
T
TelematixJunior Member
Posted 13 days 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: [url]https://vmwaros.blogspot.com/2019/10/a-pre-configured-development-machine.html[/url]

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.
D
deadwoodAROS Dev
Posted 13 days 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: [url]https://arosnews.github.io/how-to-cross-compile-aros-hosted-wsl/[/url]. It describe installation under Windows with WSL, but you can skip the initial part as you will be working directly on Linux.
T
TelematixJunior Member
Posted 11 days ago
Installed the latest xubuntu, the VSCode and, after following the guide on [url]https://arosnews.github.io/how-to-cross-compile-aros-hosted-wsl/[/url], 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 03:25, 11 days ago
D
deadwoodAROS Dev
Posted 11 days 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 10 days 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 10 days 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 10 days 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 10 days 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)
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, Telematix, Mazze
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 1
Members Online 0

Total Members: 294
Newest Member: robertfox
Member Polls
Should AROSWorld continue with AROS-Exec files (SMF based)?
Yes44 %
44% [12 Votes]
No26 %
26% [7 Votes]
Not sure30 %
30% [8 Votes]