Finally, I got a valid chance to test all this.
First of all, Lazarus runs great; it creates a 64Bit Task (seen in the Task Manager).
However, I struggle with making use of it.
I have a some kinda dummy program, doing in fact nothing but creating a huge array and making some stupid calculations than (to give me time to observe). If I make the array size to flood ~1,2GB RAM, it runs (but it already did that in FPC 32Bit).
If I try to extend the array by 10 times one directions (so ~12GB RAM), it stops with SIGSEGV error.
Okay, maybe the code is a bit messy for just compile it as 64Bit. I think I need to dig in more deep on here.
But then I tried to create 2 arrays, size of ~1,2GB each. And now the strange things begin. Now the debugger crashes and it tells me: ^error,msg="Error creating process Z:/Tobias/Test64Bit.exe, (error 193)."
I tried to use latest lazarus version (2.6.4) as well as 2.8 RC3. Same message. I also tried to use gdb_77, but still the same.
And this is where I can’t find any solution. Google told me, the problems happens when Lazarus is not happy with the file path (containing spaces or whatever), but the path is pretty clean. I already tried to move to a different location, still the same. The compiling works, but if I try to start the .exe manually, it ends up on windows telling me, its not a valid win32 application…
Anybody got an idea?