Search found 16 matches

by Fabrizio
Mon Jan 28, 2019 9:12 pm
Forum: Software & Programming
Topic: XTC68 C Cross compiler
Replies: 24
Views: 2334

Re: XTC68 C Cross compiler

@NormanDunbar, I think your suggestion is really good.
I just need to check whether it can be used with all compilers.
by Fabrizio
Mon Jan 28, 2019 9:49 am
Forum: Software & Programming
Topic: XTC68 C Cross compiler
Replies: 24
Views: 2334

Re: XTC68 C Cross compiler

Thanks! My code goes through a tool chain made of more or less C89 C cross-compilers including also CC65, Z88DK, CMOC, ACK, Z8K-GCC... #include "../foo.h" seems to be C89-compliant I need my code to compile on all of these compilers. The solution is to have my code to be C89-compliant. Wha...
by Fabrizio
Sun Jan 27, 2019 9:20 pm
Forum: Software & Programming
Topic: XTC68 C Cross compiler
Replies: 24
Views: 2334

Re: XTC68 C Cross compiler

Hi everyone! I have managed to install XTC68. It does work on a single file but I don't know how to get it to compile files some of which have #include directives of user-created header files with relative paths. I get these errors: root@brizio-VirtualBox:/media/sf_Retro/CROSS-CHASE/src# make cc_tin...
by Fabrizio
Sat Jan 26, 2019 4:03 pm
Forum: Software & Programming
Topic: QDOS-GCC How to run the binaries?
Replies: 11
Views: 1021

QDOS-GCC How to run the binaries?

Hi everyone, I am trying to use XTC68 (and not QDOS-GCC as I wrote initially). I have managed to build the version at: https://github.com/stronnag/xtc68 This version has no crt.o, no headers and no libs and no instructions on how to install them other than a link to http://www.dilwyn.me.uk/c/index.h...
by Fabrizio
Tue Jul 17, 2018 10:46 am
Forum: Software & Programming
Topic: Cross-Chase
Replies: 24
Views: 2856

Re: Cross-Chase

@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-adve...
by Fabrizio
Tue Jul 17, 2018 7:32 am
Forum: Software & Programming
Topic: Cross-Chase
Replies: 24
Views: 2856

Re: Cross-Chase

Maybe I should give up docker and try to install qdos-gcc natively. It is a lengthy process that requires patching a specific gcc version.

Has anyone here managed to install gdos-gcc? I will try to install it under cygwin.
by Fabrizio
Tue Jul 17, 2018 7:29 am
Forum: Software & Programming
Topic: Cross-Chase
Replies: 24
Views: 2856

Re: Cross-Chase

@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 Fil...
by Fabrizio
Mon Jul 16, 2018 8:52 pm
Forum: Software & Programming
Topic: Cross-Chase
Replies: 24
Views: 2856

Re: Cross-Chase

Hi Derek, the problem here is that I cannot ever run the compiler. I need to understad how to use qdos-gcc. The graphics and sounds on CROSS-CHASE is target-specific through some sort of "driver" or module. I have all sort of modules and I can make one for whatever is possible with the QL....
by Fabrizio
Fri Jul 13, 2018 11:36 pm
Forum: Software & Programming
Topic: Cross-Chase
Replies: 24
Views: 2856

Re: Cross-Chase

I am using docker because I though it was the simplest way to get to compile my game. I am open to other possibilities. I am not "porting my game" to the QL. I just want to compile it "as it is" for the QL and add the necessary bits to my universal tool-chain: https://github.com/...
by Fabrizio
Fri Jul 13, 2018 12:20 pm
Forum: Software & Programming
Topic: Cross-Chase
Replies: 24
Views: 2856

Re: Cross-Chase

Hi I would like to compile my game for the Sinclair QL with QDOS-GCC but I have not understood how to run the compiler inside the docker. Who could help me on this? Let us say I have put a trivial "Hello World" hello.c file into /c/Retro/hello.c, then I get: $ docker run xora/qdos-gcc qdos...