AROS 68K Development workflow

IImmortal · 2442

IImmortal

  • Newbie
  • *
    • Posts: 4
    • Karma: +0/-0
on: October 04, 2019, 06:23:06 AM
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

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #1 on: October 04, 2019, 06:38:50 AM
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
Reply #2 on: October 04, 2019, 07:20:16 AM
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

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #3 on: October 04, 2019, 07:38:33 AM
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

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #4 on: October 04, 2019, 07:39:12 AM
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

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3741
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #5 on: October 04, 2019, 08:37:54 AM
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

  • Legendary Member
  • *****
    • Posts: 568
    • Karma: +90/-0
Reply #6 on: October 04, 2019, 08:56:20 AM

- 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

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #7 on: October 04, 2019, 08:57:58 AM
Thanks for that. Now I can try AfA as well. 😊



wawa

  • Senior Member
  • ****
    • Posts: 265
    • Karma: +55/-0
Reply #8 on: October 08, 2019, 03: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.