C cross compiler

Anything QL Software or Programming Related.
RWAP
RWAP Master
Posts: 2839
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: C cross compiler

Post by RWAP »

Have a look at the instructions at:

http://www.libsdl.org/extras/amigaos/cr ... ticle.html

This is how to create a later version of GCC - not sure if it will work on 64 bit Windows though


User avatar
Peter
Font of All Knowledge
Posts: 2001
Joined: Sat Jan 22, 2011 8:47 am

Re: C cross compiler

Post by Peter »

I'm using both qdos-gcc and two different (XT)C68 crosscompilers under Cygwin. It's a matter of taste whether one wants Cygwin, but I can live with it. Please note that I found bugs in some string related macros compiled by qdos-gcc, so (XT)C68 is the slower, but more reliable solution.

I also wrote a little tool which can translate XTC68 executables into Qemulator executables, if someone needs that.


RWAP
RWAP Master
Posts: 2839
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: C cross compiler

Post by RWAP »

How are you getting on with this?

I have been speaking with one of the former developers at Sinclair Research - whilst they created everything initially on a proprietary Motorola Exormacs 68K development system (which he thinks was sold to GST), the source codes were transferred by him onto a VAX server running a cross compiler - presumably the a copy of Microtec Research's asm68k cross assembler for DOS which he donated to the Centre for Computing History.

Not sure if that is available anywhere, or would be much use nowadays


RWAP
RWAP Master
Posts: 2839
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: C cross compiler

Post by RWAP »

You might also want to have a look at https://github.com/anttisilvast/QL-Demo

This suggests using the VASM cross compiler - http://sun.hasenbraten.de/vasm/index.php


User avatar
radastan
ROM Dongle
Posts: 46
Joined: Sat Jan 11, 2014 8:11 pm

Re: C cross compiler

Post by radastan »

RWAP wrote:You might also want to have a look at https://github.com/anttisilvast/QL-Demo

This suggests using the VASM cross compiler - http://sun.hasenbraten.de/vasm/index.php
I will try it, but Easy68K have an IDE and is very easy to make executables for QL. Assembler is no problem, on speccy.org McLeod and me makes a sprite routine in ASM and works very fine.

I want a cross compiler for make the core of the game more easy, in assembler is more difficult. I am good in assembler for short routines (sprites, scroll...) but for long programs I get boring for the tedious work.


Post Reply