Bernd Mueller schrieb:
Users, who do embedded stuff (without OS) NEED FULL control over the controller. I agree with Jeppe, that the compiler should not restrict something.
In this case I don't understand how FPC is useful at all. I cannot create executable files for such a device...
Otherwise, you would need eventually ugly workarounds like
the following (on ARM7 with an old fpc 2.3.1), which could easily be done in gcc btw.
C has some language constructs for OS or driver implementation, e.g. "interrupt". Should we add these to the OPL, to make FPC/OPL compete with gcc/C? It would be nice, though, to have an Pascal DDK for Windows ;-)
Abstract: Even if it's easy to add privileged instructions to every machine, the ordinary user IMO should be protected from using them.
DoDi _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel