XTC68 C Cross compiler

Anything QL Software or Programming Related.
stephen_usher
Trump Card
Posts: 218
Joined: Tue Mar 11, 2014 8:00 pm

Re: XTC68 C Cross compiler

Postby stephen_usher » Sat Nov 23, 2019 3:25 pm

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


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

Re: XTC68 C Cross compiler

Postby Derek_Stewart » Fri Apr 10, 2020 9:56 pm

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: 1012
Joined: Sat Jan 22, 2011 8:47 am

Re: XTC68 C Cross compiler

Postby Peter » Tue Apr 14, 2020 8:46 am

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.



Who is online

Users browsing this forum: No registered users and 6 guests