Menu

Home

jaokim

How do I use the Vagrant Amiga cross-compiler?

Quickstart
Make sure you have Vagrant for your architecture installed
Assume you want to create project "proj6", perform there steps in a console:

svn checkout http://svn.code.sf.net/p/vagrant-amigaos4-crosscompiler/code/trunk/ proj6
cd proj6
vagrant up
vagrant ssh

This will checkout the latest amiga-vagrant files, start up vagrant, and then start a ssh session to the newly started virtual environment.
You'll be greated by something like:

Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-153-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Sun Jul 22 07:51:39 UTC 2018

  System load:  0.15              Processes:           81
  Usage of /:   4.3% of 39.34GB   Users logged in:     0
  Memory usage: 24%               IP address for eth0: 10.0.2.15
  Swap usage:   0%

  Graph this data and manage this system at:
    https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

New release '16.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Sat Jul 21 21:25:53 2018 from 10.0.2.2
vagrant@vagrant-ubuntu-trusty-64:~$ 

Your current directory is /vagrant in the vagrant-amiga. This drawer/directory is also available in whatever host OS you're running Vagrant on (Windows, Mac, Linux) under the proj6 directory. This mens that if you check out/change code in the /vagrant directory it'll be visible from your host OS, meaning you can use your editor of choice.

Example

Inside the vagrant-amiga, checkout the code for ArexxXML and build by performing these steps:

svn checkout https://jaokim31@svn.code.sf.net/p/arexxxml/code/trunk arexxxml-code
cd arexxxml-code
sudo install-sdk-dependency.py
make CROSS_COMPILE=ppc-amigaos-

This checks out the code, and also downloads any SDK dependencies. There is a script called install-sdk-dependency.py which as inputs takes a JSON file. If you give no file to the script, it looks for a file called dependencies.json. install-sdk-dependency.py gathers all the SDK dependencies from os4depot (or wherever, actually) and installs them to the vagrant-amiga SDK.
The make instruction will perform a compile, which will hopefully succeed.

The wiki uses Markdown syntax.

Project Members:


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.