Do you really mean ANY 'C' compiler? Really? What I want to do is to make
sure the 'C' code produces the result I desire. Does SDCC adhere strictly
to ANSI syntax? Does it function similarly to Borland's compiler? It would
be really convenient to have a tool that's "close enough."
----- Original Message -----
From: "Maarten Brock" <sourceforge.brock@...>
Sent: Thursday, December 01, 2005 11:11 AM
Subject: Re: [Sdcc-user] Re: 8051 64K problem
>> BTW, is there a DOS-based 'C' compiler that uses more or less the same
>> syntax as SDCC? I'd like to be able to work on the code on the pC
>> having to rewrite it when moving to SDCC.
> How DOS based do you want it to be? SDCC runs fine in a windows
> DOS-box. Are you actually using good old DOS (MS-DOS, FreeDOS)?
> SDCC might even compile for DOS if you use a decent compiler with
> DOS-extender as it is pretty memory-hungry I'm afraid. I don't think it
> will work with only 640kB.
> Or do you mean to compile your mcu code for DOS instead of cross-
> compile for the actual mcu? In that case: for non-mcu-specific code
> use any C compiler, for mcu-specific code forget it. The 8086 != your
> 8bit mcu.