[fpc-pascal] Building FPC trunk on XP win64

2010-11-25 Thread Birger Jansen
tput. Does anyone have a suggestion about what to try next to get FPC on my win64 machine? Kind regards, Birger Jansen E:/FPC/lazarus/fpc/2.4.3/bin/x86_64-win64/rm.exe -f *.o *.ppu *.rst *.s *.a *.so *.ppl WARNING: bash couldn't find /tmp, please create one! E:/FPC/lazarus/fpc/2.4.3/bin/x86_64

RE: [fpc-pascal] Building FPC trunk on XP win64

2010-11-25 Thread Birger Jansen
r folder I can see the files ppc1.exe, ppc2.exe, ppc3.exe and ppcx64.exe. Except for ppc1.exe they have the same size and modified time. Any idea what causes a problem now? Kind regards, Birger Jansen optcse.pas(172,76) Warning: Conversion between ordinals and pointers is not port a

[fpc-pascal] Nan values SIGFPE exception on 64 bit

2010-11-26 Thread Birger Jansen
WriteLn('NaN'); end. --- On 32 bit this writes 'NaN' as expected. On 64 bit I get an SIGFPE exception on the max-function. Is there some specific compiler setting that I should be aware of to make this work on 64 bit? Kind rega

RE: [fpc-pascal] Nan values SIGFPE exception on 64 bit

2010-11-26 Thread Birger Jansen
> It should cause an exception everywhere by default (it does on PowerPC > 32 bit). You have to use math.setexceptionmask if you want to mask > exceptions for invalid floating point operations: > http://www.freepascal.org/docs-html/rtl/math/setexceptionmask.html Thanks, that fixed my problem.

RE: [fpc-pascal] Building FPC trunk on XP win64

2010-11-26 Thread Birger Jansen
> > make[3]: Leaving directory `E:/FPC/lazarus/fpc/trunk/compiler' > > __missing_command_CMP -i218 ppc3.exe ppcx64.exe > > process_begin: CreateProcess((null), __missing_command_CMP -i218 ppc3.exe > > ppcx64 > > .exe, ...) failed. > > Yes - this means that you don't have GNU tool called "cmp" in t

RE: [fpc-pascal] Building FPC trunk on XP win64

2010-11-26 Thread Birger Jansen
> I'll see if I can find the missing cmp.exe in 64 bit version or try with the > 32 > bit version. Copying the cmp.exe that comes with the Lazarus 32 bit installer to a 64 bit installation worked. Can this file be included in the 64 bit installer to prevent nono's like me running into the same