Re: [fpc-pascal] Resource compilation

2018-08-04 Thread Giulio Bernardi
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

Re: [fpc-pascal] Resource compilation

2017-09-24 Thread Giulio Bernardi
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

Re: [fpc-pascal] How to use fpcres?

2013-06-03 Thread Giulio Bernardi
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

Re: [fpc-pascal] Resource compiler under Linux - windres?

2012-09-01 Thread Giulio Bernardi
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

Re: [fpc-pascal] Error: Assembler as not found, switching to external assembling

2008-12-31 Thread Giulio Bernardi
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

Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-10 Thread Giulio Bernardi
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

Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-10 Thread Giulio Bernardi
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

Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-09 Thread Giulio Bernardi
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?

Re: [fpc-pascal] Shared library with resources which contain bitmaps on Linux -- second try

2008-07-02 Thread Giulio Bernardi
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