29.01.2010 13:41, Paul Ishenin wrote:
When I compile from the console (not lazarus) with -vd I see:
Compiling resource /home/paul/Development/laztest/path with
spaces/lib/i386-linux/project1.or
Calling resource compiler "/usr/local/bin/fpcres" with "-o
"/home/paul/Development/laztest/path with
spaces/lib/i386-linux/project1.or" -a i386 -of elf -v
@"/home/paul/Development/laztest/path with
spaces/lib/i386-linux/project1.reslst"" as command line
Debug: parsing command line parameters
Debug: parsing parameter '-o'
Debug: parsing parameter '-a'
Debug: parsing parameter '-of'
Debug: parsing parameter '-v'
Debug: parsing parameter '@"/home/paul/Development/laztest/path'
Error: Can't read config file '"/home/paul/Development/laztest/path'
Running the next command from the console: /usr/local/bin/fpcres -o
"/home/paul/Development/laztest/path with
spaces/lib/i386-linux/project1.or" -a i386 -of elf -v
@"/home/paul/Development/laztest/path with
spaces/lib/i386-linux/project1.reslst"
i see successful resource compilation by fpcres.
Together with Dmitry we found the solution. Patch is attached.
Best regards,
Paul Ishenin.
Index: comprsrc.pas
===================================================================
--- comprsrc.pas (revision 14823)
+++ comprsrc.pas (working copy)
@@ -288,7 +288,7 @@
if fCollectCount=0 then
s:=s+' '+maybequoted(fname)
else
- s:=s+' @'+maybequoted(fScriptName);
+ s:=s+' '+maybequoted('@'+fScriptName);
end;
{ windres doesn't like empty include paths }
if respath='' then
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel