Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
54 user(s) are online (32 user(s) are browsing Forums)

Members: 0
Guests: 54

more...

Support us!

Headlines

 
  Register To Post  

how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Just can't stay away


See User information
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?

Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Not too shy to talk
Not too shy to talk


See User information
@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
Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Just can't stay away


See User information
ok i try to follow the guide and see if i can adapt it to linux
Thanks!

Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Just can't stay away


See User information
You can check this github/webpage too:
https://github.com/adtools/amigaos-cross-toolchain

Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just popping in
Just popping in


See User information
Hi,

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

Easy to install, has instructions for Debian

Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Just can't stay away


See User information
thanks to all, I'll keep you updated with my progress

Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Just can't stay away


See User information
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.

Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Quite a regular
Quite a regular


See User information
@jabirulo
This is a known isse:
https://github.com/sba1/adtools/pull/55

This is just like television, only you can see much further.
Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Just can't stay away


See User information
@BSzili

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

Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Site Builder
Site Builder


See User information
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.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Just can't stay away


See User information
@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

Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Site Builder
Site Builder


See User information
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.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: how to setup a cross compiling environment on Debian Buster for AmigaOS4
Just can't stay away
Just can't stay away


See User information
@walkero

Thx for reply. Will try it ASAP.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project