Sorry if I post this message here, but fpc-devel seems to be down.

I am curios about resources support, after having read some messages in this
mailing list
(like the Sergei ones).
Tell me if I understood right:

Win32 case:
when a {$R filename.res} is fond, fpc calls windres to convert the .res file
into
a .o file, which then gets linked as any other object file.
At runtime, resources can be used via winapi calls.

Elf32 case:
Windres is called as well? Does it output elf objects instead of coff ones?
Or is ld able
to link coff objects to produce elf executables?
At runtime, there is some kind of winapi emulation in system unit so that
resources can
be used.

Win64 case:
no windres for win64, so now is possible to specify a different resource
compiler and gorc
can be used (but this means no crosscompilation, say, from linux to win64)
At runtime, same thing as win32 case.

Other targets (Elf64, Mach-O, what else does exist?):
These targets are not supported (right?).

bye,
Giulio

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to