Page 3 of 3

Re: Cross-Chase

Posted: Tue Jul 17, 2018 8:31 am
by XorA
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

Re: Cross-Chase

Posted: Tue Jul 17, 2018 9:27 am
by Derek_Stewart
Hi,

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

Or maybe port over ncurses to C68.

Re: Cross-Chase

Posted: Tue Jul 17, 2018 9:55 am
by XorA
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!

Re: Cross-Chase

Posted: Tue Jul 17, 2018 10:46 am
by Fabrizio
@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.

Re: Cross-Chase

Posted: Tue Jul 17, 2018 10:28 pm
by NormanDunbar
[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.