Author Topic: AROS 68K Development workflow  (Read 106 times)

IImmortal

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
AROS 68K Development workflow
« on: October 04, 2019, 01:23:06 PM »
Hi all,

I am a spoiled C# developer where installing VisualStudio is the most work of getting ready to build your code.
Now i am looking into what it takes to develop software for AROS 68K and to this seems to be rather complex. But hopefully i am missing some insight here.

From what i have gathered from all the bits and pieces of info is the following workflow. (when developing on windows) But as i said seems overly complicated.

- Setting up a linux VM to compile AROS and in a directory my own application. I saw the "A pre-configured Development environment for AROS" topic.
- Find an editor with codecompletion?
- setting up WINUAE with the harddisk file I found in this topic : "AROS One 68k"
- Compile with 68K target?
- Probably adding some shared diskspace (between linux and WINUAE) where i can compile to or copy my application to and then switch to WINUAE to run it.
- debug? / step through, no idea?

Also there is someone working on optimising gcc for 68k can this be used for AROS? https://github.com/bebbo/amiga-gcc

Any help or info would be great!

AMIGASYSTEM

  • Junior Member
  • **
  • Posts: 84
  • Karma: +0/-0
Re: AROS 68K Development workflow
« Reply #1 on: October 04, 2019, 01:38:50 PM »
Hello I'm the author of AROS One 68k, I'm not a developer, my distro is distributed on a HardFile but can be safely used from a Windows folder, to do this just copy all its content to a folder.

IImmortal

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: AROS 68K Development workflow
« Reply #2 on: October 04, 2019, 02:20:16 PM »
Hi AMIGASYSTEM,
Yes i know you are the author of AROS One 68K. And thank you for creating it! saves me a lot of time. I also want to use it to test my compiled program on. And adding a directory as a seperate disk or copying the whole install are both good options to  have easy access to the files in windows.

AMIGASYSTEM

  • Junior Member
  • **
  • Posts: 84
  • Karma: +0/-0
Re: AROS 68K Development workflow
« Reply #3 on: October 04, 2019, 02:38:33 PM »
With WinUAE the shared Windows folder does not need to be added as a disk, you can also drag the folder to the Workbench even after starting it.

miker1264

  • Senior Member
  • ****
  • Posts: 257
  • Karma: +11/-1
Re: AROS 68K Development workflow
« Reply #4 on: October 04, 2019, 02:39:12 PM »
I'm a spoiled C# programmer too that only recently within the last two years started writing C code for AROS of which 68k is just one distro.

I can give you a few insights but someone else can provide technical details. I like to use the analogy of camping out in the woods. C# iusing Visual Studio is like Glamping in a large Recreational Vehicle with a satellite dish and all the amenities. C programming for AROS is camping with a tent and a knife! You have to make your own tools to make other tools.

I'm using Windows 7 64bit. The Preconfigured Development Environment that paolone has set up is the way to go for developing 64bit apps. I use VirtualBox 64bit on Windows. I make a new virtual machine, download the VMDK and attach it.

AMIGASYSTEM

  • Junior Member
  • **
  • Posts: 84
  • Karma: +0/-0
Re: AROS 68K Development workflow
« Reply #5 on: October 04, 2019, 03:37:54 PM »
Sarebbe bello portare AROS 68k su Amithlon, io von VirtualBox su Amithlon ho portato AfA One:


VirtualBox : Install Amithlon
https://drive.google.com/open?id=1gX8ajmxuUW_p2YOIjKz56oluGqel46Fw

VirtualBox : Amithlon AfA One
https://drive.google.com/open?id=1kCSVPAuHrXPrAjoH5JNzqjfbJIAnvvaC

VirtualBox : Amithlon share Hardfile on WinUAE
https://drive.google.com/open?id=1310kxc0gJuRjb-jgD6sBz1Dek5BUHGbS

paolone

  • Senior Member
  • ****
  • Posts: 264
  • Karma: +3/-0
Re: AROS 68K Development workflow
« Reply #6 on: October 04, 2019, 03:56:20 PM »

- Setting up a linux VM to compile AROS and in a directory my own application. I saw the "A pre-configured Development environment for AROS" topic.


Hi, you actually can use the pre-configured etc etc to compile stuff for 68K. Just fire up the virtual machine and open the shell, then (in theory) :


mkdir m68k


cd m68k


../sources/configure --target=amiga-m68k (plus other arguments I don't know about, sorry)


make as usual




miker1264

  • Senior Member
  • ****
  • Posts: 257
  • Karma: +11/-1
Re: AROS 68K Development workflow
« Reply #7 on: October 04, 2019, 03:57:58 PM »
Thanks for that. Now I can try AfA as well. 😊

wawa

  • Member
  • ***
  • Posts: 161
  • Karma: +0/-0
Re: AROS 68K Development workflow
« Reply #8 on: October 08, 2019, 10:57:08 PM »
@immortal
our gcc patches are pretty basic to keep them maintainable. no detailed optimizations when generating as, like bebbos one. aros si currently still being compiled for plain 68000 for most parts. a lot room for improvement here i guess.