From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hans" Subject: Re: ACK ANSI C compiler Date: Mon, 15 Aug 2005 20:18:49 +0100 Message-ID: <123f01c5a1ce$32c01070$6502a8c0@dionysus> References: <200508151712.57698.dg@cowlark.com> Reply-To: "Hans" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-8086-owner@vger.kernel.org List-Id: Content-Type: text/plain; format="flowed"; charset="us-ascii"; reply-type="original" To: linux-8086@vger.kernel.org Hi David, Looks quite interesting and I will check it out when I have some free time. I am currently using the free Watcom compiler which supports the 8086 and upwards. I used this compiler (ver 10.0) years ago for a QNX based embedded system and it was quite good. The 8086 support is OKish, you have to fix some minor issues but nothing to difficult (like .386 pragma in the assembly listings). The full source code is available and the user group seems quite active. See http://www.openwatcom.org/ To use it for my home grown system I wrote a simple runtime support and some basic library calls like putch/getch/sprintf/printf. I then wrote a monitor which included basic I/O interrupt handlers like int21/int10/int16. By using a tiny model (.com) I avoid the requirement for a locator. I then translate the binary com file into an intel hex file and upload it to my board. So far it seems to work OK. When I have some more time I will put all this stuff on my website. Does ACK compiles ELKS? Regards, Hans. ----- Original Message ----- From: "David Given" To: Sent: Monday, August 15, 2005 5:12 PM Subject: ACK ANSI C compiler I just thought that people here might be interested to know that I've been (slowly) working on resurrecting the old ACK compiler toolchain, used by Minix. It got open sourced a few years ago, under an extremely liberal BSD license. http://tack.sourceforge.net/ The reason why I say this is that it is, as far as I know, the only decent free ANSI C i86 compiler. Tiny and small model only, unfortunately, but that's all that ELKS requires. It should certainly be better than bcc, but then a lot of things are... -- +- David Given --McQ-+ | dg@cowlark.com | Wholesale theft is the sincerest form of flattery. | (dg@tao-group.com) | +- www.cowlark.com --+