[fpc-devel] Another bug with spaces in fpc (windows)

Michael Van Canneyt michael at freepascal.org
Tue Jul 6 14:35:47 CEST 2010

On Tue, 6 Jul 2010, Paul Ishenin wrote:

> Hello FPC developers.
> Sad but we found a new (really very old) bug with spaces: 
> http://bugs.freepascal.org/view.php?id=9964
> If you pass -o"some file with spaces.exe" or "-osome file with spaces.exe" 
> fpc generates only a file with only "some" part.
> Why I write here. Well, lazarus team hope to have a version of fpc which can 
> work with spaces and 2.4.2 is in the preparation steps. We already made some 
> steps in this direction during the current lazarus and fpc releases. So maybe 
> there is a chance (not too late) to fix this error too?

Are you sure the bug is in FPC ? I mean, as far as I know there is nothing
that prevents the internal linker or option handling from having spaces in a
filename. However, if the options are passed as 
-osome file with spaces.exe
then FPC only sees the "some".


More information about the fpc-devel mailing list