Re: [fpc-pascal] Compiled resource file search path

2014-01-11 Thread Paul Ishenin
11.01.2014 18:27, denisgolovan wrote: Now the question to the compiler developers - will you accept my patch if I make .res to be searched in unit output directory (-FU)? Add a separate -F{Some character} switch for resource search. Best regards, Paul Ishenin __

Re: [fpc-pascal] Compiled resource file search path

2014-01-11 Thread denisgolovan
> You can use full/relative path for resources: {$R /path/to/resource/file} or > {$R ../relative/resource/file} Yes. I can. The problem is that my .res files are not always in the same directory. My build scripts use separate dirs for every arch-os-debug combination. Now the question to the compi

Re: [fpc-pascal] Compiled resource file search path

2014-01-11 Thread denisgolovan
Hi Fortunately I don't use Windows when doing development for Windows :) Cross-compiling under Linux is way better. BR, Denis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiled resource file search path

2014-01-11 Thread Reinier Olislagers
On 11/01/2014 06:13, leledumbo wrote: > You can use full/relative path for resources: {$R /path/to/resource/file} or > {$R ../relative/resource/file} > Note however the bug for gorc (used in Win64) .rc files if the .rc file is not in the project directory: http://bugs.freepascal.org/view.php?id=2

Re: [fpc-pascal] Compiled resource file search path

2014-01-10 Thread leledumbo
You can use full/relative path for resources: {$R /path/to/resource/file} or {$R ../relative/resource/file} -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Compiled-resource-file-search-path-tp5717906p5717911.html Sent from the Free Pascal - General mailing lis

[fpc-pascal] Compiled resource file search path

2014-01-10 Thread denisgolovan
Hi Could anybody give a hint on which fpc option to use to force compiler search .res files in some directory? I've added -vt switch and it shows that the only file name being searched is in the same directory of referring unit. It looks like search paths for res files are not implemented at al