Cross-Chase

Anything QL Software or Programming Related.
User avatar
XorA
Super Gold Card
Posts: 551
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Cross-Chase

Postby XorA » Tue Jul 17, 2018 8:31 am

Fabrizio wrote:@M68008, I know I need to use the -v option. The question is how:

Brizio@DESKTOP-I20P8HM MINGW64 /c/Program Files/Docker Toolbox
$ docker run -v /c/Retro xora/qdos-gcc qdos-gcc hello.c
qdos-gcc: hello.c: No such file or directory
qdos-gcc: No input files

Brizio@DESKTOP-I20P8HM MINGW64 /c/Program Files/Docker Toolbox
$ ll /c/Retro/hello.c
-rw-r--r-- 1 Brizio 197121 81 Jul 10 23:17 /c/Retro/hello.c

As you can see I have the hello.c file inside /c/Retro, but I gdos-gcc cannot find it.


once again -v <HOST DIR>:/build your command is missing the essential bit.

G


Derek_Stewart
QL Wafer Drive
Posts: 1112
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: Cross-Chase

Postby Derek_Stewart » Tue Jul 17, 2018 9:27 am

Hi,

Could a standard container be created for Docker that can run QDOS-GCC?

Or maybe port over ncurses to C68.


Regards,

Derek
User avatar
XorA
Super Gold Card
Posts: 551
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Cross-Chase

Postby XorA » Tue Jul 17, 2018 9:55 am

Derek_Stewart wrote:Hi,

Could a standard container be created for Docker that can run QDOS-GCC?


Thats what we are talking about, I did that, works fine when used on modern linux!


Fabrizio
ROM Dongle
Posts: 12
Joined: Thu Apr 19, 2018 11:09 am

Re: Cross-Chase

Postby Fabrizio » Tue Jul 17, 2018 10:46 am

@Derek_Stewart,

ncurses is just one possibilities.
curses may also be ok.

If real graphics is not too complicated, I could make a QL module with sprites and not just ASCII characters.

The game code is hardware-agnostic. I can even make a non-graphics module where the game becomes a sort of text-adventure
WITHOUT changing the game code.


User avatar
NormanDunbar
Super Gold Card
Posts: 523
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Cross-Chase

Postby NormanDunbar » Tue Jul 17, 2018 10:28 pm

[quote="XorA]You can just extract the image inside the docker and use it as a chroot. Thats what I was doing until it occurred to me I could wrap the chroot up in docker to upload it for easy consumption.[/quote]

Speaking as someone who has never touched Docker, or any other containers, how would I go about extracting the contents of the shipping container please? Linux Mint 18.3.

Chroot is no problem, that I can do, I've built Arch systems in the past! ;)


Cheers,
Norm.


Why do they put lightning conductors on churches?
How come Tarzan never grew a beard?
If at first you don't succeed, don't take up skydiving!
If you think your job is pointless, remember, there's a man in Germany who fits indicators on BMWs.

Return to “Software & Programming”

Who is online

Users browsing this forum: No registered users and 2 guests