[lazarus] Compiling for win32

Micha Nelissen mdvpost at hotmail.com
Sun Jun 22 15:39:34 EDT 2003


Hi,

> after that, compile lazarus.

Well, the compiler/rtl compiled \o/ :).

But I also miss windres.exe from the FPC package, and when I used the mingw
one, I got errors :(.

---error snippet---
make[1]: Entering directory `D:/Projects/freepascal/lazarus'
windres -i lazarus.rc -o lazarus.res --preprocessor
windres: option `--preprocessor' requires an argument
Usage: windres [option(s)] [input-file] [output-file]
 The options are:
  -i --input=<file>            Name input file
  -o --output=<file>           Name output file
  -I --input-format=<format>   Specify input format
  -O --output-format=<format>  Specify output format
  -F --target=<target>         Specify COFF target
     --preprocessor=<program>  Program to use to preprocess rc file
     --include-dir=<dir>       Include directory when preprocessing rc file
  -D --define <sym>[=<val>]    Define SYM when preprocessing rc file
  -v --verbose                 Verbose - tells you what it's doing
     --language=<val>          Set language when reading rc file
     --use-temp-file           Use a temporary file instead of popen to read
                               the preprocessor output
     --no-use-temp-file        Use popen (default)
  -h --help                    Print this help message
  -V --version                 Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified.  A single file name is an input file.
No input-file is stdin, default rc.  No output-file is stdout, default rc.
windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little
elf32-big srec symbolsrec tekhex binary ihex
make[1]: *** [lazarus.res] Error 1
make[1]: Leaving directory `D:/Projects/freepascal/lazarus'
make: *** [ide] Error 2
---/error-------

Thanks,

Micha.






More information about the Lazarus mailing list