XTC68 C Cross compiler

Anything QL Software or Programming Related.
stephen_usher
Gold Card
Posts: 431
Joined: Tue Mar 11, 2014 8:00 pm
Location: Oxford, UK.
Contact:

Re: XTC68 C Cross compiler

Post by stephen_usher »

Excellent! That PDF was just what I was looking for. Thank-you!


Derek_Stewart
Font of All Knowledge
Posts: 3953
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: XTC68 C Cross compiler

Post by Derek_Stewart »

Hi,

I downloaded the xtc68 master file, from:

https://github.com/stronnag/xtc68

read the documentation and compiled the XTC68 software, loaded the C68 runtime disk to the "support" directory, ran the install.sh file.

Which XTC68 was installed in my Linux computer, I compiled a simple hello world programme.

The programme compiled and gave the data space value, so just simple load to memory in a QL emulator and SEXEC with the data space value friom XTC68, gave a QL executable programme.

But the same programme compiled on C68 was about 20% smaller, is this problem?


Regards,

Derek
User avatar
Peter
QL Wafer Drive
Posts: 1984
Joined: Sat Jan 22, 2011 8:47 am

Re: XTC68 C Cross compiler

Post by Peter »

Derek_Stewart wrote:But the same programme compiled on C68 was about 20% smaller, is this problem?
It is at least strange. I have no time to compile this new XTC68 at the moment. But with an an old XTC68, the generated executable always resulted in same size as C68. Except for small version-dependent variations.


Post Reply