From: "Dariusz Mazur" <[email protected]>
Jonas Maebe pisze:
On 23 May 2009, at 11:05, Vincent Snijders wrote:
Can't the searching be extended to the unit directory. It would
make the file C:\fpc\2.2.4\units\i386-win32\fcl-base\fclel.res
really useful, now have to copy it to my program dir to be able
to use deamonapp unit.
WDDD? (What Does Delphi Do) If Delphi also somehow has support for
resource search paths (via the unit search path or otherwise), it
doesn't make sense to implement a different solution. (since in
that case someone will probably file a bug report at some point
asking for also supporting it in a Delphi-compatible way).
I have all *.res files in one separate directory in Delphi (via
search path). Now I try to use *.res in Linux.
Everything goes fine, FPC can handle ordinary *.res, although *.rc
has to be compiled by brcc32
You can get/build crossbinutils for i386-win32. Then rename
i386-win32-windres to windres. After that fpc will compile .rc files
for you using that windres.
Yury.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel