[fpc-devel]about dos.pp in WIN32

Darek Mazur darekm at emadar.com
Tue Dec 2 08:33:22 CET 2003


> While I could agree to your opinion that SYSUTILS wouldn't have to
> use DOS, I don't agree with your conclusion that the opposite should
> be introduced instead. There are several good reasons not to do that,
> mentioning just a few of them:
>
> - SysUtils is much more complex, i.e. more difficult to implement on
> new platforms than Dos.

I've noticed that SysUtils is implemented on many platforms

>
> - SysUtils does all string operations using ansistrings, which would
> degrade performance rapidly for all applications using Dos (including
> the compiler itself).

OK, I don't see this before
>
> - SysUtils contains more code, which would notably increase size of
> binaries on platforms with no smartlinking support.
>
>
> Having said all this, it might still be possible (and not so
> difficult, in fact) to remove SysUtils dependency on unit Dos,
> especially if the only re-used function is really FExpand (FExpand
> itself is implemented in a standalone include file anyway, after
> all). I'll discuss this with other core team members and possibly
> have a look at it afterwards.

This is main, about what I think, rest is not so important, unit DOS is
finished and is not need to rebuild everything


Best regards

Darek





More information about the fpc-devel mailing list