[fpc-devel] specify source file with spaces in directory name

Vincent Snijders vsnijders at quicknet.nl
Fri Dec 14 14:23:42 CET 2007


How I can specify a source file with spaces in the directory name?

Lazarus generates the following command line:

D:\FPC\2.2.0\bin\i386-Win32\fpc.exe  -S2cgi -OG1 -gl -WG -vewnhi -l 
-FuD:\lazarus\source\lazarus\lcl\units\i386-win32\ 
-FuD:\lazarus\source\lazarus\lcl\units\i386-win32\win32\ 
-FuD:\lazarus\source\lazarus\packager\units\i386-win32\ -Fu. "-oC:\Documents and 
Settings\vsds\Local Settings\Temp\project1.exe" -dLCL -dLCLwin32 "C:\Documents and 
Settings\vsds\Local Settings\Temp\project1.lpr"

Hint: Start of reading config file D:\FPC\2.2.0\bin\i386-Win32\fpc.cfg
Hint: End of reading config file D:\FPC\2.2.0\bin\i386-Win32\fpc.cfg
Warning: Only one source file supported
Warning: Only one source file supported
Warning: Only one source file supported
Warning: Only one source file supported
Warning: Only one source file supported
Warning: Only one source file supported
Free Pascal Compiler version 2.2.0 [2007/09/09] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling Settings\Temp\project1.lpr
Fatal: Can't open file "project1.lpr"
Fatal: Compilation aborted

Vincent



More information about the fpc-devel mailing list