Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 1
Guests: 141

Templario, more...

Headlines

 
  Register To Post  

« 1 (2)
Re: Cross compiling
Quite a regular
Quite a regular


See User information
Thank you salass00

What if mysdk contains the sdl2 headers and libraries compiled for amiga? Can i copy my sdk folder to the linux vm? And about the sobj dir?

Thank you very much


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


See User information
@salass00

The files you've provided are for 32bit ubuntu.

You told me that the previous packages where 64 bit, so i installed a 64 bit Linux Mint

The following is the output of the console using the guide for the installation on page: https://github.com/sba1/adtools


amidev@amidev-virtual-machine ~ $ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
Executing: /tmp/tmp.gQGrRHUybx/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv-keys
379CE192D401AB61
gpg: requesting key D401AB61 from hkp server keyserver.ubuntu.com
gpg: key D401AB61: public key "Bintray (by JFrog) <bintray@bintray.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg: no writable keyring found: eof
gpg: error reading `[stdin]': general error
gpg: import from `[stdin]' failed: general error
gpg: Total number processed: 0
amidev@amidev-virtual-machine ~ $ echo "deb http://dl.bintray.com/sba1/adtools-deb /" | sudo tee -a /etc/apt/sources.list
deb http://dl.bintray.com/sba1/adtools-deb /
amidev@amidev-virtual-machine ~ $ aptitude install adtools-binutils adtools-sdk adtools-gcc
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
W: You may want to update the package lists to correct these missing files
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
amidev@amidev-virtual-machine ~ $

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


See User information
@AmigaBlitter

Quote:

The files you've provided are for 32bit ubuntu.


Yes, because that's what I'm using. I don't have a 64-bit linux system.

Quote:

amidev@amidev-virtual-machine ~ $ aptitude install adtools-binutils adtools-sdk adtools-gcc


You should use sudo for this step.

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


See User information
@salass00

it's already a sudoers command

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


See User information
I tried in many ways, but i can't get the files following the instructions. The packages are not found.
Maybe i should contact the author.


@salass00
DO you suggest to use 32 bit or 64 bit installation?


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


See User information
FYI:

I have just finished a complete, functioning, repeatable, detailed, up-to-date-as-of-yesterday set of instructions to create a Windows/Cygwin-hosted (gcc 5.4 / gcc 6 Cygwin side) cross-compilation toolchain setup that uses the adtools source to build, from scratch, the OS4-targeted gcc 5.4 cross-compiler/toolchain.

I also have 99% bash-on-ubuntu-on-windows (uwin) build-adtools-from-source equivalent as well. It just has some error in what I think is the very last step in the toolchain make process.

Happy to post the Cygwin/uwin instructions here. Indeed, was about to.

I imagine the uwin instructions would be very helpful to any Linux / Mac user. I've not tried them out on Linux.


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


See User information
HOW TO build an Amiga / OS4 32-bit gcc 5.x cross-compiler/cross-compiling tool chain running in Windows with Cygwin/Cygwin64, or ALMOST WORKING -- bash-on-Ubuntu-on-Windows (UWin) 10 Pro 64-bit -- ALMOST WORKING.

Following a good suggestion on this, I've moved this post to a new topic thread...


Edited by stonecracker on 2017/9/26 22:22:58
Edited by stonecracker on 2017/9/26 22:28:01
Edited by stonecracker on 2017/9/26 22:57:41
Go to top

  Register To Post
« 1 (2)

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project