QDOS gcc made easy (docker stylee)

Anything QL Software or Programming Related.
User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QDOS gcc made easy (docker stylee)

Post by XorA »

Derek_Stewart wrote:HI,

This looks great, I will have to get my RPIs out and start using them.

How hard would a version for Linux Mint be, as this is a Ubuntu based distro.

I am a beginner with Docker, but looks fairly straight forward, just finding the time to play with it...
So the advantage of Docker is it does not matter what your distro of choice is, everything is hidden in the container.

So I have found as per the other thread qdos-gcc is currently not working on arm, as the last post from @tcat seemed to indicate they had found a fix I have asked for details so I can add it. I still need to test xtc68 on arm.


User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QDOS gcc made easy (docker stylee)

Post by XorA »

Just pushed an updated image.

This should bring working arm support for xtc68 and qdos-gcc.

I also added qltools so you can make floppy images inside the container!


User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QDOS gcc made easy (docker stylee)

Post by XorA »

Oh and I forgot to say the build/build.sh script in the github repo will also build in local machine if you want to play without docker.

Although it will not handle compiling gcc on a 64bit OS (PRs greatefully received :D )


User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QDOS gcc made easy (docker stylee)

Post by XorA »

And now amd64 (x86_64) containers are included.

ARM64 doesnt support multilib though, so I don't think that will ever get gcc 2.95.3!


User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QDOS gcc made easy (docker stylee)

Post by NormanDunbar »

Hi XorA.

I'm messing with Docker and pulled your qdos-devel image. On the instructions page, https://hub.docker.com/r/xora/qdos-devel, is says this:

Code: Select all

docker run -v `pwd`/wander:qdos/wander -it qdos-devel:latest bash
But that gives an error:

Code: Select all

yada yada: invalid mount config for type "bind": invalid mount path: 'qdos/wander' mount path must be absolute.
The fix appears to be a leading '/' added to "-it qdos/wander" making it "-it /qdos/wander" .

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
XorA
Site Admin
Posts: 1359
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: QDOS gcc made easy (docker stylee)

Post by XorA »

NormanDunbar wrote: Sat Oct 28, 2023 2:25 pm Hi XorA.

I'm messing with Docker and pulled your qdos-devel image. On the instructions page, https://hub.docker.com/r/xora/qdos-devel, is says this:

Code: Select all

docker run -v `pwd`/wander:qdos/wander -it qdos-devel:latest bash
But that gives an error:

Code: Select all

yada yada: invalid mount config for type "bind": invalid mount path: 'qdos/wander' mount path must be absolute.
The fix appears to be a leading '/' added to "-it qdos/wander" making it "-it /qdos/wander" .

Cheers,
Norm.
Feel free to send a PR to the github! Your right its a typo!


Post Reply