Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
142 user(s) are online (122 user(s) are browsing Forums)

Members: 0
Guests: 142

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Cross compiling
Quite a regular
Quite a regular


See User information
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
Go to top
Re: Cross compiling
Not too shy to talk
Not too shy to talk


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

Go to top
Re: Cross compiling
Quite a regular
Quite a regular


See User information
@thellier

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


Retired
Go to top
Re: Cross compiling
Not too shy to talk
Not too shy to talk


See User information
> use version 6.1 of gcc?
I dont know: I am using ppc-amigaos-gcc-4.4.3

Alain

Go to top
Re: Cross compiling
Just can't stay away
Just can't stay away


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

Go to top
Re: Cross compiling
Just popping in
Just popping in


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

Go to top
Re: Cross compiling
Quite a regular
Quite a regular


See User information
@tekmage

Hi,

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

Retired
Go to top
Re: Cross compiling
Just can't stay away
Just can't stay away


See User information
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 20:43:54
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: Cross compiling
Just can't stay away
Just can't stay away


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

Go to top
Re: Cross compiling
Just popping in
Just popping in


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

Go to top
Re: Cross compiling
Just can't stay away
Just can't stay away


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

Go to top
Re: Cross compiling
Just popping in
Just popping in


See User information
k, is it normal that the download is about sdk 53.24 and not 54.30?
"downloads/SDK_53.24.lha"

Kamelito

Go to top
Re: Cross compiling
Just can't stay away
Just can't stay away


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

Go to top
Re: Cross compiling
Just popping in
Just popping in


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

Go to top
Re: Cross compiling
Just can't stay away
Just can't stay away


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

Go to top
Re: Cross compiling
Quite a regular
Quite a regular


See User information
@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
Go to top
Re: Cross compiling
Just popping in
Just popping in


See User information

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

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

Go to top
Re: Cross compiling
Quite a regular
Quite a regular


See User information
@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
Go to top
Re: Cross compiling
Just can't stay away
Just can't stay away


See User information
@AmigaBlitter

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

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

Go to top
Re: Cross compiling
Just can't stay away
Just can't stay away


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

Go to top

  Register To Post
(1) 2 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project