C cross compiler
C cross compiler
Hi,
I am searching for a 68000 C cross compiler for make programs. I found 68KIDE, but only works on Windows Xp and in x64 Windows crash on compilation.
¿Any C compiler like Z88DK or else?
Thanks for your help.
I am searching for a 68000 C cross compiler for make programs. I found 68KIDE, but only works on Windows Xp and in x64 Windows crash on compilation.
¿Any C compiler like Z88DK or else?
Thanks for your help.
-
- RWAP Master
- Posts: 2839
- Joined: Sun Nov 28, 2010 4:51 pm
- Location: Stone, United Kingdom
- Contact:
Re: C cross compiler
I am not aware of any - but why not use the QL version of C68 from within q-emulator or similar......
That is the C program I have used - but maybe there are better development environments on the PC?
That is the C program I have used - but maybe there are better development environments on the PC?
Rich Mellor
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
Re: C cross compiler
Use a C compiler on QL have two problems:
1- If your program hangs... you need to restart again Ql and load compiler.
2- C compilers on QL are not comfortable than PC one's.
I will think in your option as a last one.
1- If your program hangs... you need to restart again Ql and load compiler.
2- C compilers on QL are not comfortable than PC one's.
I will think in your option as a last one.
Re: C cross compiler
I've used most of the C compilers that are available for the QL, and I've recently been playing with Z88DK. I think that C68 is a more stable compiler than Z88DK, and has more features. It's not derived from Small-C, like Z88DK. I'm fairly sure it is full K&R and pretty close the being ANSI complient (ok guys, correct me if I'm wrong on this).
When running a C program on the QL, if it crashes or gets hung, it usually does not crash the system. Just CTRL-C to the Window #0 prompt. You can then type JOBS, find the offending process, and use RJOB to kill it (very Unix like). Now, if you are writing a device driver or such, you can probably crash the system, but a user level program should not.
Tim Swenson
When running a C program on the QL, if it crashes or gets hung, it usually does not crash the system. Just CTRL-C to the Window #0 prompt. You can then type JOBS, find the offending process, and use RJOB to kill it (very Unix like). Now, if you are writing a device driver or such, you can probably crash the system, but a user level program should not.
Tim Swenson
-
- RWAP Master
- Posts: 2839
- Joined: Sun Nov 28, 2010 4:51 pm
- Location: Stone, United Kingdom
- Contact:
Re: C cross compiler
Tobias Froschle has pointed out that there is a DOS version of C68 if this might help -
See http://morloch.hd.free.fr/smsq/#LANG , search for "XTC68DOS"
See http://morloch.hd.free.fr/smsq/#LANG , search for "XTC68DOS"
Rich Mellor
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
Re: C cross compiler
¡YES!RWAP wrote:Tobias Froschle has pointed out that there is a DOS version of C68 if this might help -
See http://morloch.hd.free.fr/smsq/#LANG , search for "XTC68DOS"
I will test it, is perfect for my requirements.
-
- RWAP Master
- Posts: 2839
- Joined: Sun Nov 28, 2010 4:51 pm
- Location: Stone, United Kingdom
- Contact:
Re: C cross compiler
Excellent - let's hope it runs under the latest DOS boxes in Windows!
Rich Mellor
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
Re: C cross compiler
And, to increase the choice to two:
There is a Linux gcc cross compiler for QDOS on the same site:
http://morloch.hd.free.fr/qdos/qdosgcc.html
Tobias
There is a Linux gcc cross compiler for QDOS on the same site:
http://morloch.hd.free.fr/qdos/qdosgcc.html
Tobias
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Re: C cross compiler
That GCC version is so ancient that I wouldn't have high hopes of getting it to run or compile. VBCC would be the best way to go in my opinion - I actually managed to quickly hack it to produce binaries for the QL, but that hack wasn't sustainable in the long run (static address, libraries copied from the ST version).
Re: C cross compiler
XTC68DOS didn't work on x64 Windows.
I found Aztec68K, but have the same problem on x64:
http://www.aztecmuseum.ca/compilers.htm#aztec68K
Still searching for a free (or low cost) 68000 C compiler for Windows.
I found Aztec68K, but have the same problem on x64:
http://www.aztecmuseum.ca/compilers.htm#aztec68K
Still searching for a free (or low cost) 68000 C compiler for Windows.