Re: [fpc-pascal] MINIX 3 support

2017-11-10 Thread Mark Morgan Lloyd
On 09/11/17 23:15, Graeme Geldenhuys wrote: Does FPC support the MINIX 3 target platform? Or has somebody attempted to port FPC to that platform? Interesting question, particularly now that it's being factory-installed :-) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Marco van de Voort
In our previous episode, Marc Santhoff said: > > #ENDIF > > I see, so when using fpc for ARM these define is automatically set? > And would that be CPUAVR for Atmels chips? (easiest is to just fpc -va some dummy source and then grep for CPU, or look in the compiler sources (options.pas or

Re: [fpc-pascal] WinHTTP.h Translation

2017-11-10 Thread African Wild Dog
2017-11-10 4:48 GMT-02:00 Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org>: > > Yes, unit WinHTTP in packages/winunits-base. > > This unit is missing in Lazarus setup. Thanks for the feedback. Regards ___ fpc-pascal maillist -

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Sven Barth via fpc-pascal
Am 10.11.2017 18:59 schrieb "Marc Santhoff" : On Fr, 2017-11-10 at 18:22 +0100, Karoly Balogh (Charlie/SGR) wrote: > Hi, > > On Fri, 10 Nov 2017, Marc Santhoff wrote: > > > What is that, is ppc used for bootstrapping the cross compiler > > regardless of any other fpc maybe

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Marc Santhoff
Hi again, (too many sub threads, answering here - thanks to all helpers!) OK, "$FPC -va | grep CPU" does the trick. If using the ppcrossarm: marc@puma:/home/marc/program/fpc-cross/src/fpc/compiler > ./ppcrossarm -va|grep CPU [0.004] Macro defined: CPUARMEL [0.004] Macro defined:

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Marc Santhoff
On Fr, 2017-11-10 at 18:22 +0100, Karoly Balogh (Charlie/SGR) wrote: > Hi, > > On Fri, 10 Nov 2017, Marc Santhoff wrote: > > > What is that, is ppc used for bootstrapping the cross compiler > > regardless of any other fpc maybe installed? > > Yes. First that ppc gets built with the "other FPC"

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Mattias Gaertner
On Fri, 10 Nov 2017 17:47:11 +0100 Marc Santhoff wrote: > Hi again, > > (too many sub threads, answering here - thanks to all helpers!) > > OK, "$FPC -va | grep CPU" does the trick. If using the ppcrossarm: > > marc@puma:/home/marc/program/fpc-cross/src/fpc/compiler >

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Karoly Balogh (Charlie/SGR)
Hi, On Fri, 10 Nov 2017, Marc Santhoff wrote: > What is that, is ppc used for bootstrapping the cross compiler > regardless of any other fpc maybe installed? Yes. First that ppc gets built with the "other FPC" installed. Or you can specify a startup compiler explicitly with FPC= argument to the

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Marc Santhoff
On Fr, 2017-11-10 at 18:25 +0100, Mattias Gaertner wrote: > On Fri, 10 Nov 2017 17:47:11 +0100 > Marc Santhoff wrote: > > > Hi again, > > > > (too many sub threads, answering here - thanks to all helpers!) > > > > OK, "$FPC -va | grep CPU" does the trick. If using the

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Mattias Gaertner
On Fri, 10 Nov 2017 18:57:19 +0100 Marc Santhoff wrote: >[...] > > You can either use fpc and switch the target OS and /or processor. > > That solution isnt't doable, that would require a compiler for X86_64 > and ARM. fpc -Parm calls ppcarm, fpc -Px86_64 calls ppcx64.

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Marc Santhoff
On Fr, 2017-11-10 at 19:07 +0100, Mattias Gaertner wrote: > On Fri, 10 Nov 2017 18:57:19 +0100 > Marc Santhoff wrote: > > >[...] > > > You can either use fpc and switch the target OS and /or processor. > > > > That solution isnt't doable, that would require a compiler for

Re: [fpc-pascal] MINIX 3 support

2017-11-10 Thread Graeme Geldenhuys
On 2017-11-10 09:36, Mark Morgan Lloyd wrote: Interesting question, particularly now that it's being factory-installed:-) Yeah. :) I've been reading the Wikipedia page about MINIX 3 and it sounds quite impressive, and some really interesting design choices (self-healing, lower priority of

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Marco van de Voort
In our previous episode, Marc Santhoff said: > > fpc -Parm calls ppcarm, fpc -Px86_64 calls ppcx64. > > Besides the language - fpc and lazarus are so cool tools! and fpc -V-1.0 calls ppc386-1.0 etc etc :-) ___ fpc-pascal maillist -

Re: [fpc-pascal] installing cross fpc in parallel to systems fpc

2017-11-10 Thread Marco van de Voort
In our previous episode, Marco van de Voort said: > > > fpc -Parm calls ppcarm, fpc -Px86_64 calls ppcx64. > > > > Besides the language - fpc and lazarus are so cool tools! > > and fpc -V-1.0 calls ppc386-1.0 etc etc :-) Whoops, that should be -V1.0 of course. The idea is that you can give

[fpc-pascal] AggPas / PTCGraph dynamic memory allocation

2017-11-10 Thread James Richters
I've been trying to figure out how to dynamically allocate memory to be used as a screen buffer to display AggPas generated images with PTCGraph. I don't want it hard coded because I do not know what resolution monitor is going to be used. Here is where I am at: I can define a static