Re: [fpc-pascal] move problem

2017-11-02 Thread Ryan Joseph
> On Nov 3, 2017, at 11:04 AM, Adriaan van Os wrote: > > What's going on, is that you didn't read what the Unit Reference Guide says > about Move. It is not like BlockMoveData on the Mac and it doesn't expect > pointers as parameter. ah I see now I got confused by something else and got dera

Re: [fpc-pascal] move problem

2017-11-02 Thread Adriaan van Os
Ryan Joseph wrote: I was just trying to run some old code and found that my calls to Move are crashing (3.1.1/ppcx64) so I tried to make this simple example and it’s crashing also. Also for some reason I can’t use @i as the first parameter of Move and MemSize on “dest” returns 24 instead of 4.

[fpc-pascal] move problem

2017-11-02 Thread Ryan Joseph
I was just trying to run some old code and found that my calls to Move are crashing (3.1.1/ppcx64) so I tried to make this simple example and it’s crashing also. Also for some reason I can’t use @i as the first parameter of Move and MemSize on “dest” returns 24 instead of 4. What’s going on here

Re: [fpc-pascal] Compiler directive to compile to 64 bits

2017-11-02 Thread Cleverson Casarin Uliana
Em 02/11/2017 23:29, leledumbo via fpc-pascal escreveu: fpc -Px86_64 -Twin64 Great, thanks! :) Cleverson ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiler directive to compile to 64 bits

2017-11-02 Thread leledumbo via fpc-pascal
> Hi, a newbie question but the docs aren't clear on how to say that I want to use the 64-bit compiler, not the i386 fpc -Px86_64 -Twin64 -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___ fpc-pascal maillist - fpc-pascal@lists.f

[fpc-pascal] Compiler directive to compile to 64 bits

2017-11-02 Thread Cleverson Casarin Uliana
Hi, a newbie question but the docs aren't clear on how to say that I want to use the 64-bit compiler, not the i386. I'm on Windows, so I installed the native i386-win32 compiler, then the x86_64 cross compiler. When I issue for example fpc hello, it uses the i386 one. I also gave a look inside

Re: [fpc-pascal] Forbidden access to the packages page

2017-11-02 Thread Ralf Quint
On 11/2/2017 1:02 PM, Cleverson Casarin Uliana wrote: > Hello, is it normal that the following URL gives a 403 forbidden error > when trying to access via Firefox? Here it does: > https://www.freepascal.org/packages/ Certainly not a Firefox problem, as I can reproduce this with Chrome and Opera as

Re: [fpc-pascal] FPC install on windows with limited rights

2017-11-02 Thread Graeme Geldenhuys
On 2017-11-02 11:30, Bart wrote: For commandline compilen (and building Lazarus from console) it's preferrable to have fpc's bin directory in the path (and you need admin privileges for that). If you use ConEmu [https://conemu.github.io/] - an alternative console for Windows, it allows you to

[fpc-pascal] Forbidden access to the packages page

2017-11-02 Thread Cleverson Casarin Uliana
Hello, is it normal that the following URL gives a 403 forbidden error when trying to access via Firefox? Here it does: https://www.freepascal.org/packages/ Greetings Cleverson ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr

Re: [fpc-pascal] FPC install on windows with limited rights

2017-11-02 Thread Graeme Geldenhuys
On 2017-11-02 10:31, James Richters wrote: I'm curious if it really needs to be installed? FPC and Lazarus can run just fine without an installer. In fact, that is how I've been running FPC and Lazarus under Linux and FreeBSD for the last 10 years. The problem under Windows was that I couldn'

Re: [fpc-pascal] FPC install on windows with limited rights

2017-11-02 Thread Graeme Geldenhuys
On 2017-11-02 07:17, Michael Van Canneyt wrote: The installer is made with inno setup. There are several inno extract tools available, e.g.: http://constexpr.org/innoextract/ Thank you Michael, that worked perfectly. Strange that the inno setup executable (the FPC installer) doesn't have a par

Re: [fpc-pascal] FPC install on windows with limited rights

2017-11-02 Thread Bart
On Thu, Nov 2, 2017 at 11:31 AM, James Richters wrote: > I'm curious if it really needs to be installed? For commandline compilen (and building Lazarus from console) it's preferrable to have fpc's bin directory in the path (and you need admin privileges for that). Otherwise just copying the entir

Re: [fpc-pascal] FPC install on windows with limited rights

2017-11-02 Thread James Richters
I'm curious if it really needs to be installed? I installed it on my desktop computer then just copied the entire FPC directory to my NAS, then went to my laptop where FPC was never installed, mapped a drive to access the FPC copy on the NAS and ran it, and everything seems fine to me.I hav

Re: [fpc-pascal] FPC install on windows with limited rights

2017-11-02 Thread Michael Van Canneyt
On Thu, 2 Nov 2017, Graeme Geldenhuys wrote: Hi, I have a severely locked down laptop (work one) so I can't install anything that creates menu shortcuts, desktop icons or goes into "Program Files". So I can't run the official Windows FPC installer. I don't actually know what is the require