Hi everybody, I'm just chiming in after quite some years.
Just two notes:
* For lazarus, it shouldn't need to use a real resource compiler for standard
things like icons, manifests etc: see programs res6 and res7 at
https://www.freepascal.org/docs-html/fclres/basic%20usage.html
* For the "real" r
I think that what Sven meant is that fpc's Windows installers include binutils,
while this is not true for other platforms: that is, you need to have ld on your
system if you want to use it as a linker, fpc does not provide it.
Same as for windres: if you need it, usually you can install it from m
You need windres for that. Fpcres compiles a .res file into an object file.
Il giorno 03/giu/2013 17:12, "silvioprog" ha scritto:
> Hello,
>
> This is my RC content (tablebuilder.rc):
>
> SCRIPT_POSTGRESQL RCDATA "..\..\script\sql\postgresql.sql"
>
> But when I try to compile it:
>
> fpcres.exe t
Just compiling windres from binutils sources should be enough.
The only problem I remember from past experience is that windres is not
endian safe, but if you use it on little endian machines it works just fine.
A simple way to have windres is:
download binutils from http://ftp.gnu.org/gnu/binut
Joost van der Sluis ha scritto:
Op woensdag 31-12-2008 om 09:11 uur [tijdzone -0500], schreef César
Espinoza:
Free Pascal Compiler version 2.2.2 [2008/08/03] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Darwin for i386
Compiling program1.pas
Assembling first
Error: Assembler
Graeme Geldenhuys ha scritto:
On Thu, Jul 10, 2008 at 9:13 AM, Giulio Bernardi <[EMAIL PROTECTED]> wrote:
vendor provide their own (brcc32 from borland, wrc from watcom, gorc), but
they are not "cross platform", even if wrc is able to compile win32, win16
and os2 resource
Graeme Geldenhuys ha scritto:
On Wed, Jul 9, 2008 at 8:17 PM, Giulio Bernardi <[EMAIL PROTECTED]> wrote:
So I assume we have a cross-platform resource compiler now, so is
windres unnecessary? Was pre-processing also implemented?
No. To compile .rc files to .res you still need windr
Felipe Monteiro de Carvalho ha scritto:
On Wed, Jul 9, 2008 at 2:20 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
All targets in 2.3.1 now support {$R file} syntax.
So I assume we have a cross-platform resource compiler now, so is
windres unnecessary? Was pre-processing also implemented?
I'm sorry to say that at the moment, there is no support for resources
in shared libraries in 2.3.1 on non-windows targets: that is, you can
only embed resources in the program that uses them.
It is planned though.
bye
Giulio
___
fpc-pascal maillist