Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
80 user(s) are online (63 user(s) are browsing Forums)

Members: 1
Guests: 79

Templario, more...
Support us!
Recent OS4 Files
OS4Depot.net



(1) 2 »


Cross compiling
Quite a regular
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 530
Hello everyone,

i need to create a cross compiling setup on my pc.

I need to install a linux in a Virtual Machine and setup all the necessary to compile under linux for AmigaOS 4.

I need updated tools that prevent me to compile or port software to Amiga. One of this is an updated autogen.

Any hint?

Thank you

_________________
Retired
   Report Go to top

Re: Cross compiling
Just popping in
Joined:
2011/6/3 12:49
Posts: 184
Hello

Not Linux based but you can have a look here :
(in French but certainly translate well...)

http://www.amiga-ng.org/viewtopic.php?topic=2112&forum=14

   Report Go to top

Re: Cross compiling
Quite a regular
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 530
@thellier

Thank you. Do you think it's possible to use version 6.1 of gcc?


_________________
Retired
   Report Go to top

Re: Cross compiling
Just popping in
Joined:
2011/6/3 12:49
Posts: 184
> use version 6.1 of gcc?
I dont know: I am using ppc-amigaos-gcc-4.4.3

Alain

   Report Go to top

Re: Cross compiling
Just can't stay away
Joined:
2008/1/6 17:56
From Pennsylvania, USA
Posts: 1247
@AmigaBlitter
Quote:
i need to create a cross compiling setup on my pc.

kas1e has a number of cross-compiler archives on his WEB site. Just click on his name in the "Top Posters" block on the right side of the Amigans.net WEB page. Then click on the link in his signature at the bottom of his profile page.

_________________
Amiga X1000 with 2GB memory & OS 4.1FE + Radeon HD 5450

   Report Go to top

Re: Cross compiling
Just popping in
Joined:
2008/8/21 0:11
Posts: 50
Hi All,

Anyone have the skills to make an Amazon AMI with a full cross compiler env? I need one as well for some porting of linux tools and it would be great if I could spin up a VM and fire off the job then tear the whole thing down.

Cheers,
Bill "tekmage" Borsari

   Report Go to top

Re: Cross compiling
Quite a regular
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 530
@tekmage

Hi,

i was thinking the same: a ready made vm with all the necessary tools for cross compiling on Amiga...

_________________
Retired
   Report Go to top

Re: Cross compiling
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1314
Interesting idea. I could create a Linux/Windows VM. Some developer connect on it and install the necessary tools. When that is done, I can upload the VM on the Net for everyone to download.

Who would like to install the necessary tools?


Edited by Elwood on 2017/7/27 19:43:54
_________________
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
   Report Go to top

Re: Cross compiling
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1526
@AmigaBlitter

Quote:

Thank you. Do you think it's possible to use version 6.1 of gcc?


I just built a gcc 6.1.0 cross compiler on my PC running Ubuntu 16.04.

It's pretty easy to do if you follow the instructions in the readme:
https://github.com/sba1/adtools

   Report Go to top

Re: Cross compiling
Just popping in
Joined:
2012/10/17 19:42
Posts: 60
Thanks I followed the readme and got :
root@amiga:/etc/apt# aptitude install adtools-binutils adtools-sdk adtools-gcc
Couldn't find any package whose name or description matched "adtools-binutils"
Couldn't find any package whose name or description matched "adtools-sdk"
Couldn't find any package whose name or description matched "adtools-gcc"
Couldn't find any package whose name or description matched "adtools-binutils"
Couldn't find any package whose name or description matched "adtools-sdk"
Couldn't find any package whose name or description matched "adtools-gcc"
No packages will be installed, upgraded, or removed.

   Report Go to top

Re: Cross compiling
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1526
@Kamelito

That's not the instructions I meant.

I used the ones for building from source.

I.e. first cloning the repo:
git clone https://github.com/sba1/adtools.git

Then getting gild:
cd gild
git submodule init
git submodule update

bin/gild clone
bin/gild checkout binutils 2.23.2
bin/gild checkout coreutils 5.2
bin/gild checkout gcc 6

and so on.

   Report Go to top

Re: Cross compiling
Just popping in
Joined:
2012/10/17 19:42
Posts: 60
k, is it normal that the download is about sdk 53.24 and not 54.30?
"downloads/SDK_53.24.lha"

Kamelito

   Report Go to top

Re: Cross compiling
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1526
@Kamelito

Yes, it seems so.

That would explain why the graphics.library includes it installed for me didn't have any of the new V54 defines.

Just update them manually.

   Report Go to top

Re: Cross compiling
Just popping in
Joined:
2012/10/17 19:42
Posts: 60
I'm surely wrong but isn't "export PATH=$PATH:$(pwd)/root-cross/bin" supposed to be "export PATH=$PATH:$(pwd)/native-build/root-cross/bin"?
Kamelito

   Report Go to top

Re: Cross compiling
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1526
@Kamelito

Well it really should be:

export PATH=$PATH:<prefix>/bin

where <prefix> should be replaced by whatever prefix you installed the compiler in

I installed mine into /usr/local/amiga so I use (I already had it in my ~/.bashrc file):

export PATH=$PATH:/usr/local/amiga/bin

AFAIK pwd is an environment variable that always contains an absolute path to the current directory so the results will be different depending on what directory you are in.

   Report Go to top

Re: Cross compiling
Quite a regular
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 530
@salass00

I'm building a custom VM for cross compiling. It's based on linux mint 18. Linux mint uses deb packaging format, but i can't install any package following the read me instructions.
Any hint?

Resized Image

_________________
Retired
   Report Go to top

Re: Cross compiling
Just popping in
Joined:
2008/4/30 4:49
From UK
Posts: 168

Alot of developers have started using Docker Containers for rapid development from a common environment (image) :

https://www.youtube.com/watch?v=Vyp5_F42NGs

   Report Go to top

Re: Cross compiling
Quite a regular
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 530
@angelheart

interesting.

@salass00
could you please provide more informations? I'm not able to install the necessary tools.

Is Linux Mint (32 bit) supported?

_________________
Retired
   Report Go to top

Re: Cross compiling
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1526
@AmigaBlitter

The provided debian packages do seem to be 64-bit only:

https://dl.bintray.com/sba1/adtools-deb/

   Report Go to top

Re: Cross compiling
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1526
@AmigaBlitter

I created an archive of the binaries I compiled from the adtools repository:

https://www.dropbox.com/s/rxqdyuhakc1u ... ols-gcc-6.1.0.tar.xz?dl=0

These are compiled for Ubuntu 16.04 so I don't know how well they will work with another distribution. The archive should be extracted in /usr/local and does not include SDK files (you will have to install those yourself).

   Report Go to top


(1) 2 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project