Hi,
At 2004-02-01 01:00, Matthew T. Linehan wrote:
>I'm searching for an HC11P1 C Compiler.
I wrote an 6811 compiler and assembler and linker
years ago that I used myself for production code
for years working for a company.
When it wouldn't have been good, I wouldn't have
used it or I would have improved it. The latter of
which I frequently did of course (during the weekends).
I'd be willing to turn it into an open source project
if I got some help.
>We have been using Introl C 4.1 with the HC11F1 for
a while. I'm
>starting an new project using the HC11P1 and I just discovered that
>Introl 4.1 does not support this variant correctly, and www.introl.com
>is gone, making purchasing an upgrade impossible.
>
>I require an compiler/library that:
> Supplies library source code
Yes, most of the standard C-library source code I have
written myself, but you can also use the ones from Linux
or FreeBSD or whatever.
> Library code must be reenterent. I use a home
grown multitasker!
Of course all of the produced code is reenterent. Does
non-reenterent code producing compilers for the 6811 ever
exist?
For stack-impared processors like the 6805/08 or 6851 that
may make sense, but not for the 6811 I would think.
> Support inline assembly (for those time critical
functions)
Of course. And I wrote the assembler myself and it's
also very high level, with typing, arrays, structs etc.
> Supports 32 bit long ints
Yes, I think so. It mainly consists of calling
functions, that you may provide yourself.
> Supports 32 bit float
> 64 bit float support optional, but a plus!!!
No floats. I hate floats. At the speed of a 6811,
floats are generally not very useful and it's usually
better to reeducate the programmer. ;-)
> MUST have localtime, mktime, (time.h library
support, RTC on CB)
> Supports fopen, fclose, fprintf, fscanf, etc...
> I will have 4 character devices in the system, 3 serial ports
> and one LCD. These all need to be accessible as files...
> lcd = fopen("/dev/lcd", "w"); fprintf(lcd, "Hello
World!");
The problem is that providing the standard C functions that
have no interaction with the OS is simple, but the problem
starts when one has to deal with the OS, but the OS should
provide the library functions then I think and didn't you
write the multitasker?
By the way, I also used it to multitask (upto 200 jobs for
remote devices) but not with some intermediate Unix-like
layer, so I didn't need all kinds of Unix file functions.
The main problems with an 6811 are speed and memory space
and both are limited and therefore not to be wasted.
>An IDE that hosts on linux is: desirable +=
1000;
I have hosted the compiler (and the rest) over the years on:
- Our own self-build 6809-system with a self ported Unix
- Xenix
- DEC 64-bits Alpha processor based Unix
- Linux
>Any suggestions?
I'm willing to make my code open source, but only with a
lot of serious help, but you're probably looking for a
ready to use turn-key solution (which I can't blame you
for) so I think you'd better try some of the other
compilers that you haven't tried yet.
And a serious tool may cost money...
Greetings,
Jaap
|