Re: [fpc-pascal] windres not required/provided by Debian 2.6.0 FPC
On Wed, October 10, 2012 04:16, waldo kitty wrote: On 10/8/2012 03:12, Tomas Hajny wrote: The manual forgets to mention that this is only the case on Win32 (where the various GNU tools and utilities are included with the FPC installation package). It also doesn't mention that different resource compilers may be used on other platforms (e.g. gorc on Win64, etc.). i've run into resource problems when compiling projects from win32(?) to OS2... on OS2, i have to use fpc directly... everything is developed on win32(?) [w2000pro or vista] and then copied to the OS2 machine to compile the project.lpr... currently i'm using EMX on the OS2 box and i always get an error on the resource file unless i simply comment it out (with a '.' as the second character)... how can i handle these resource files on OS2? It would be better to see a particular example which doesn't work as expected and information on what happens instead of the expected behaviour. In general, the standard IBM resource compiler RC.EXE is included in optional item in the OS/2 standard installer covering development tools (together with e.g. the standard linker LINK386.EXE). In addition, the Developers Toolkit (included as an additional package in eComStation) includes these standard IBM tools too. Finally, there are also 3rd party resource compilers (in particular the free Watcom C/C++ compiler includes a cross-platform resource compiler allowing compilation of resources also on other platforms). Tomas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] windres not required/provided by Debian 2.6.0 FPC
On 10/8/2012 03:12, Tomas Hajny wrote: The manual forgets to mention that this is only the case on Win32 (where the various GNU tools and utilities are included with the FPC installation package). It also doesn't mention that different resource compilers may be used on other platforms (e.g. gorc on Win64, etc.). i've run into resource problems when compiling projects from win32(?) to OS2... on OS2, i have to use fpc directly... everything is developed on win32(?) [w2000pro or vista] and then copied to the OS2 machine to compile the project.lpr... currently i'm using EMX on the OS2 box and i always get an error on the resource file unless i simply comment it out (with a '.' as the second character)... how can i handle these resource files on OS2? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] windres not required/provided by Debian 2.6.0 FPC
Morning list, While getting a Jenkins continuous integration server going On Debian 6 (Squeeze), I installed just enough packages to get a compiler and get a compile job going fp-compiler 2.6.0-0 Free Pascal - Compiler metapackage fp-compiler-2.6.02.6.0-0 Free Pascal - Compiler fp-units-i3862.6.0-0 Free Pascal - kylix compatibility units metapackage fp-units-i386-2.6.0 2.6.0-0 Free Pascal - kylix compatibility units fp-units-rtl 2.6.0-0 Free Pascal - Runtime Library metapackage fp-units-rtl-2.6.0 2.6.0-0 Free Pascal - Runtime Library fp-utils 2.6.0-0 Free Pascal - Utils metapackage fp-utils-2.6.0 2.6.0-0 Free Pascal - Utils The manual mentions that the FreePascal distribution comes with the windres resource compiler (http://www.freepascal.org/docs-html/prog/progse59.html). However, a simple test program containing a {$r resourcet.rc} directive gives: fpc resourcet.pas resourcet.pas(9,1) Error: resource compiler windres not found, switching to external mode resourcet.pas(9,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled? Trying to fix it: apt-get install mingw32-binutils gives /usr/bin/i586-mingw32msvc-windres If I then symlink windres: ln -s /usr/bin/i586-mingw32msvc-windres /usr/bin/windres compilation works. If it has not already been done so, would it be a good idea for the Debian packager add the relevant package as required/dependency+incorporate the symlink? Thanks, Reinier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] windres not required/provided by Debian 2.6.0 FPC
On Mon, October 8, 2012 08:21, Reinier Olislagers wrote: Hi Reinier, While getting a Jenkins continuous integration server going On Debian 6 (Squeeze), I installed just enough packages to get a compiler and get a compile job going . . The manual mentions that the FreePascal distribution comes with the windres resource compiler (http://www.freepascal.org/docs-html/prog/progse59.html). . . The manual forgets to mention that this is only the case on Win32 (where the various GNU tools and utilities are included with the FPC installation package). It also doesn't mention that different resource compilers may be used on other platforms (e.g. gorc on Win64, etc.). Tomas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal