[fpc-devel] Paramstr trailing spaces, bug or not?
Joost van der Sluis
joost at cnoc.nl
Thu Dec 22 22:26:08 CET 2011
On Thu, 2011-12-22 at 19:15 +0100, Pierre Free Pascal wrote:
> I am completely unable to reproduce this...
> on a windows machine!
> Futhermore this behavior would break lots of code
> including the compiler itself...
> Maybe there is some special configuration you are working on that
> explains this strange behavior...
> Which Windows OS version do you use?
> Is it a Virtual machine?
> What shell are you using?
What I did was this: 'make install PREFIX=c:\lazarus\fpc\2.7.1\' the
trailing backslash is important...
Then make runs (among others) the following command:
.\fpmake.exe install --localunitdir=../.. --globalunitdir=.. --os=win32 --cpu=i386 -o -Ur -o -Xs -o -O2 -o -n -o -FuC:/svn/fpc-trunk/rtl/units/i386-win32 -o -FuC:/svn/fpc-trunk/packages/hash/units/i386-win32 -o -FuC:/svn/fpc-trunk/packages/paszlib/units/i386-win32 -o -FuC:/svn/fpc-trunk/packages/fcl-process/units/i386-win32 -o -FuC:/svn/fpc-trunk/packages/fpmkunit/units/i386-win32 -o -FE. -o -FUunits/i386-win32 -o -di386 -o -dRELEASE --compiler=C:/svn/fpc-trunk/compiler/ppc386.exe --prefix=c:\lazarus\fpc\2.7.1\ --unitinstalldir=c:\lazarus\fpc\2.7.1\/units/i386-win32/fcl-base -ie -d
Note the two spaces after the prefix. Which result in the error message
that the directory "c:\lazarus\fpc\2.7.1 \bin" coudn't be created. (Note
Can you reproduce that? I tried with a simple hello-world kind of
application and in that case I can't reproduce it either.
This is on Windows 7 in a virtual machine. (kvm)
More information about the fpc-devel