Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
71 user(s) are online (52 user(s) are browsing Forums)

Members: 0
Guests: 71

more...

Support us!

Recent OS4 Files
OS4Depot.net






how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Joined:
2006/11/24 17:54
From Sanremo
Posts: 1838
Hi, during this period of quarantine i am playing with small open source projects and i was able to build them on my Debian machine (following the instructions). Now I would like to setup a cross compiling environment in order to try to port these small projects on amigaos4. Is there any updated tutorial for this?

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just popping in
Joined:
2012/7/16 18:57
From Istanbul
Posts: 126
@nubechecorre

This is for CYGWIN, but I think most of the tools are common with Debian..

https://www.amigans.net/modules/xforum ... hp?topic_id=8122&forum=25

_________________
Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Joined:
2006/11/24 17:54
From Sanremo
Posts: 1838
ok i try to follow the guide and see if i can adapt it to linux
Thanks!

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Quite a regular
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 544
You can check this github/webpage too:
https://github.com/adtools/amigaos-cross-toolchain

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just popping in
Joined:
2006/11/27 21:56
From Copenhagen
Posts: 98
Hi,

For AmigaOS 4 I recommend ADTools
https://github.com/sba1/adtools

Easy to install, has instructions for Debian

_________________
http://www.unity3d.com
https://github.com/steen-lund -- Some stuff
   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Joined:
2006/11/24 17:54
From Sanremo
Posts: 1838
thanks to all, I'll keep you updated with my progress

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Quite a regular
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 544
Hi, I cerated a VMware crossompiler machine with Debian6 (x86) and downloaded all stuff (like in CYGWIN) the list of tools needed to compile and get ppc-amigaos-... tools.

I needed to install/apt-get a few more tools (gperf, ruby and pkg-config), but thats for Odyssey.


Only problem I got was with SDK53_30, it was "old" 53_24(but renamed as 53_30). ¿:-/
So it needs to be changed/updated in /amiga/adtools/native-build/makefile to:
SDK_URL=http://www.hyperion-entertainment.biz/index.php?option=com_registration&view=download&format=raw&file=82&Itemid=82

(is almost indentical, but last "numbers"/values should be both 82).


Then I downloaded Odyysey and compiled too

NOTE: only "change" I needed on Odyssey to compile correctly, is to comment out "#include "BCRefPtrWTF.h" include in "odyssey-r155188-1.23\BAL\Types\WTF\BCPlatformRefPtrWTF.h", dunnot if it's wrong, but...worked.
The problem compoiler showed was: "file not found!!!" :-/ but "BCRefPtrWTF.h" existed on my installation, maybe is some link/whatever that wasn't made during cmake, no idea.

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Quite a regular
Joined:
2013/10/17 16:21
From Hungary
Posts: 632
@jabirulo
This is a known isse:
https://github.com/sba1/adtools/pull/55

_________________
I see the jimmies have been rustled.
   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Quite a regular
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 544
@BSzili

Oops, I (re)opened a new ticket (#85) with such issue too, well so it won't be forgotten

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 627
Instead of using Virtual Machines my preferred solution is to use docker. I created one with latest SDK for GCC 8 (https://github.com/walkero-gr/odysseyOnDocker) and one for VBCC (https://github.com/walkero-gr/docker4AmigaVBCC)

The benefits against VMs and local installation are many:
- it is shareable between developers by exchanging just a small yml file
- everyone in a team has the same development environment
- can be set up in less than a minute, if you have docker already installed on your machine
- can be used on any OS that docker exists. So you can easily transfer you development environment between Windows, Linux or MacOS
- the code is shared with the docker containers and the host machine. So, you can use your beloved IDE, GIT, any tool you prefer, as installed on you machine
- can be easily extended to cover your extra needs
- you can have different setups for different platforms you want to support (OS3, OS4, MOS, AROS), isolated, using the same code.

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Quite a regular
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 544
@walkero

Where do I "get" such doker too?. Is it only for PC, web based or...?

So if I understand, it's a VM but not "stored" locally.

If you can answer those questions, will try to test it.

TiA

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Site Builder
Joined:
2006/12/2 23:57
From Athens/Dublin
Posts: 627
docker is like a vm and it is not. It is much lighter and it doesn't have a UI, or windows manager.

You can find info how to install it on
- Windows https://docs.docker.com/docker-for-windows/install/
- MacOS https://docs.docker.com/docker-for-mac/install/
- Linux https://docs.docker.com/install/

Since you install it, and as soon as it is running you need just a line of command at the terminal to download a start it. And as soon as you do that you are ready to start to compile your apps. Of 'course you will be able to do much more things if you learn how to use it and get deeper into docker setups.

The docker images I created and the ones I mentioned at my previous reply have info at the github pages on how to use them.

   Report Go to top

Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Quite a regular
Joined:
2007/2/6 13:57
From Donostia (SPAIN)
Posts: 544
@walkero

Thx for reply. Will try it ASAP.

   Report Go to top





[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project