[fpc-pascal] Resource compilation

Sven Barth pascaldragon at googlemail.com
Mon Sep 25 14:24:37 CEST 2017


Am 25.09.2017 08:11 schrieb "Martok" <listbox at martoks-place.de>:
>
> > Also note that that is only true for Windows. FPC doesn't include a
> > resource compiler for any other platforms. So if no resource compiler
> > exists, you will get a compilation error until you make other plans.
> AFAIK, windres is available for lots of other platforms. If you have to
install
> some package, that shoud not really surprise a developer?
> I would assume that FPC just tries to call a resource compiler on all
platforms
> and fails with some error message if it isn't available?
>
> If so, I wouldn't worry too much about having our own resource compiler.
The RC
> script language is actually quite complex, and there'd be next to no
benefit to
> reinventing the wheel.

The RC language itself isn't *that* difficult. Main difficulty would be to
essentially implement a C-preprocessor-compatible preprocessor.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170925/bd9caaf7/attachment.html>


More information about the fpc-pascal mailing list