Re: [fpc-devel] Graphical RAD IDE in FPC

2018-09-17 Thread Mark Morgan Lloyd
n do absolutely everything in a single language is quixotic. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists

Re: [fpc-devel] Broken frac function in FPC3.1.1 / Windows x86_64

2018-04-27 Thread Mark Morgan Lloyd
on of the compiler. I have to say that I don't think Thaddy has exactly helped things by implying that a 64-bit double is converted into an 80-bit extended on an architecture which doesn't support that type. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above

Re: [fpc-devel] Fix CamelCase in unit and method names

2018-03-22 Thread Mark Morgan Lloyd
ome arelowercase. The result looks sloppy. Maybe it is OCD, don't know. Itbothers me anyway. Is my understanding correct that there's no compiler warning for this sort of inconsistency? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's

Re: [fpc-devel] MACRO - correct syntax?

2018-02-25 Thread Mark Morgan Lloyd
-- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] MACRO - correct syntax?

2018-02-25 Thread Mark Morgan Lloyd
On 25/02/18 10:30, Florian Klämpfl wrote: Am 25.02.2018 um 11:12 schrieb Mark Morgan Lloyd:> On 25/02/18 02:15, Ozz Nixon wrote:>> {$MACRO ON}>> {$DEFINE _CTASSERT(X,Y,Z):=assert(x=y,z);}>> Begin   _CTASSERT(1,1,'Constant failed.');end.> > I don't be

Re: [fpc-devel] MACRO - correct syntax?

2018-02-25 Thread Mark Morgan Lloyd
On 25/02/18 02:15, Ozz Nixon wrote: {$MACRO ON} {$DEFINE _CTASSERT(X,Y,Z):=assert(x=y,z);} Begin _CTASSERT(1,1,'Constant failed.');end. I don't believe parameters are supported :-( -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author'

Re: [fpc-devel] An extension of fpc language: the BASED construct

2017-12-27 Thread Mark Morgan Lloyd
On 26/12/17 23:15, Giuliano Colla wrote: Il 26/12/2017 14:27, Mark Morgan Lloyd ha scritto:> What does gdb (and possibly other debuggers) make of this? What currently gdb tells (and any other debugger would tell) is : No symbol "Item" in current context. Once the appropriat

Re: [fpc-devel] An extension of fpc language: the BASED construct

2017-12-26 Thread Mark Morgan Lloyd
(and possibly other debuggers) make of this? Is it really appropriate to declare Item as a variable, when it's really more akin to a macro? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

Re: [fpc-devel] How does one request new features?

2017-12-06 Thread Mark Morgan Lloyd
believe that the feature request entry in Mantis (referring the createdWiki page) would be indeed useful. Agreed, but I think https://sourceforge.net/projects/vectorpascalcom/ is also noteworthy. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's,

Re: [fpc-devel] How does one request new features?

2017-12-05 Thread Mark Morgan Lloyd
ge is marked as being for the discussion of a suggestion, and that it's deleted if not adopted. The wiki's already got a maintenance problem with outmoded examples etc. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of

Re: [fpc-devel] Dangerous optimization in CASE..OF

2017-10-04 Thread Mark Morgan Lloyd
ot; operations which worked on absolute addresses and completely bypassed the descriptor-based protection mechanism. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] _

Re: [fpc-devel] Dangerous optimization in CASE..OF

2017-07-02 Thread Mark Morgan Lloyd
cker will find a way to make that "anywhere" be malicious code. Is this made safe by always having an else/otherwise? If so, could the compiler at least raise a warning if an enumeration was sparse but there was no else/otherwise to catch unexpected cases? -- Mark Morgan Lloyd markM

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread Mark Morgan Lloyd
at I've got set up here. Is it /just/ that command line? Is this going via Mantis? Whatever, good work everybody. It's a public holiday in the UK- it is in Berlin as well or is the flurry of work just a coincidence? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opi

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread Mark Morgan Lloyd
On 29/05/17 11:12, Karoly Balogh (Charlie/SGR) wrote: Hi, On Mon, 29 May 2017, Mark Morgan Lloyd wrote: My recollection is that the SPARC64 code generator is immature,> hopefully Jonas will comment on that. Not sure what "immature" means, granted, I don't know anything abo

Re: [fpc-devel] Porting fpc to linux-sparc64

2017-05-29 Thread Mark Morgan Lloyd
RC64 code generator is immature, hopefully Jonas will comment on that. Adrian, I've put very little time into the SPARC 64-bit Debian port, and despite tracking the mailing list I'm a little unclear how complete it is and- in particular- how easily it installs. Does it support multiar

Re: [fpc-devel] Different results of random(int32) and random(int64) for negative limit value

2017-05-20 Thread Mark Morgan Lloyd
;less"? What does it do if the parameter is +ve? Note https://mantis.freepascal.org/view.php?id=31693 -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-08 Thread Mark Morgan Lloyd
Wiki which is probably still relevant: http://wiki.lazarus.freepascal.org/Lazarus_on_Solaris As Pierre had to remind me, the -Xn issue is still significant. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-08 Thread Mark Morgan Lloyd
On 08/05/17 14:00, Pierre Muller wrote: Le 05/05/2017 à 13:00, Mark Morgan Lloyd a écrit :> This is something that was discussed on the FPC-Pascal ML but it died.> > I am able to build installation bundles for SPARC running Linux (Debian) > and Solaris (OpenSXCE). The fp IDE works

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-07 Thread Mark Morgan Lloyd
ll add a note to the existing stuff on the Wiki. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-05 Thread Mark Morgan Lloyd
On 05/05/17 12:00, Pierre Muller wrote: Hi Mark, Le 05/05/2017 à 13:00, Mark Morgan Lloyd a écrit :> This is something that was discussed on the FPC-Pascal ML but it died.> > I am able to build installation bundles for SPARC running Linux (Debian) > and Solaris (OpenSXCE). The fp I

[fpc-devel] FPC 3.0.2 for SPARC

2017-05-05 Thread Mark Morgan Lloyd
d these be of use for the downloads area, which at present only has 2.6.2 and 2.4.2 respectively? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel m

Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-08 Thread Mark Morgan Lloyd
On 08/11/16 10:26, Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: The Solaris and C communities appeared to take the line that a correct compiler "could not" generate unaligned accesses, although they held off clarifying whether "could" in that

Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-08 Thread Mark Morgan Lloyd
h other compilers and languages, I'd suggest that a warning when potentially-misaligned code is generated is in order. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___

Re: [fpc-devel] A generic function for (multicore) cache flush?

2016-10-31 Thread Mark Morgan Lloyd
cores, thus having something pending in local cache sometimes. Surely that shouldn't happen on a properly-implemented cache-coherent system? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employer

[fpc-devel] Debian discussion of ARM flags

2016-06-14 Thread Mark Morgan Lloyd
th under your > maintenance and not) that appear to get this wrong, which suggests > that there might be a toolchain issue here in fpc and friends. My > scanner is telling me that the following armhf packages are broken: -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opini

Re: [fpc-devel] Bug 29760 on FPC 3.0 Win64

2016-03-10 Thread Mark Morgan Lloyd
E+02* 1.E+002= 1.2345000000E+04 -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org h

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Mark Morgan Lloyd
Marcos Douglas wrote: On Sat, Feb 27, 2016 at 6:38 AM, Mark Morgan Lloyd wrote: Marcos Douglas wrote: Is there any chance to implement in the compiler something link this? S := " insert into t ( id, description ) values ( 1, 'foo' ) "; Did you see? No, I

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Mark Morgan Lloyd
;re allowing it to extend over multiple lines somewhat like a unix here-document. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist -

Re: [fpc-devel] Random thread-safe

2016-01-28 Thread Mark Morgan Lloyd
Jonas Maebe wrote: Mark Morgan Lloyd wrote: Could I ask for clarification of this please. Are you saying that Random() will crash if called simultaneously by multiple threads, or that it will return suboptimal results? It's undefined. The current implementation won't crash, but t

Re: [fpc-devel] Random thread-safe

2016-01-28 Thread Mark Morgan Lloyd
uce jitter in the retries, does that mean that I have to put Random() into a critical section? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fp

Re: [fpc-devel] Program too long ?

2016-01-15 Thread Mark Morgan Lloyd
abilities of most computers available at the time. http://www.webcitation.org/6N4WnuuZk -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-deve

Re: [fpc-devel] Program too long ?

2016-01-14 Thread Mark Morgan Lloyd
right pain. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] Program too long ?

2016-01-14 Thread Mark Morgan Lloyd
ich lacked functions to get unhappy about :-) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lis

Re: [fpc-devel] fcl-net for Solaris etc.

2015-12-20 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: Can anybody confirm that the comment reference to netdh.h in fcl-net/src/cnetdb.pp should actually be netdb.h, Yes. At least it was back then. (and according to the Paul Vixie author reference, some time before

[fpc-devel] fcl-net for Solaris etc.

2015-12-20 Thread Mark Morgan Lloyd
Can anybody confirm that the comment reference to netdh.h in fcl-net/src/cnetdb.pp should actually be netdb.h, because I'm having a lot of difficulty reconciling that with reality. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not th

Re: [fpc-devel] Timezones

2015-11-17 Thread Mark Morgan Lloyd
onable to me, subject to considering the Windows situation (some unix-style programs on DOS/Windows honour it). I remember previous debate on getting a guaranteed UTC timestamp, and this might be a useful way forwards provided obviously that the underlying OS plays ball. -- Mark Morgan Lloyd mar

Re: [fpc-devel] FPC 3.0.0 class property default

2015-10-31 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Up to and including 2.6.4, this works: TRoundRobin= CLASS(TObject) . PUBLIC . (*$IFDEF HAS_TRUE YIELD *) PROPERTY HasTrueYield: BOOLEAN DEFAULT TRUE; (*$ELSE *) PROPERTY HasTrueYield

[fpc-devel] FPC 3.0.0 class property default

2015-10-27 Thread Mark Morgan Lloyd
to convert a compile-time conditional into something that could be incorporated into an ordinary boolean expression. What is the correct syntax, and how far back is FPC compatible with it? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those

Re: [fpc-devel] Fwd: While - Otherwise Statement

2015-10-14 Thread Mark Morgan Lloyd
ommunity has rejected MIT's attempts to reimplement it in Javascript, indicates that there's an increasing awareness that both the language and its typical implementations- i.e. embedded in a browser or as ActionScript in Flash- leave much to be desired. And Node.js is lipstick on a

Re: [fpc-devel] Fwd: While - Otherwise Statement

2015-10-13 Thread Mark Morgan Lloyd
less than 100 increment foo as well as decrement foo when it is no longer less than 100... If somebody really has to do this wouldn't "also" be a better choice to avoid (getting close to overloading "as"? :-/ -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Op

Re: [fpc-devel] Fwd: While - Otherwise Statement

2015-10-12 Thread Mark Morgan Lloyd
use would be to specify a finalisation statement which was only executed if the while loop cycled at least once, or possibly one which was executed if the loop never cycled. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those

Re: [fpc-devel] Teensy (no OS) programmed with Free Pascal Embedded ARM

2015-10-11 Thread Mark Morgan Lloyd
, how close is it to being able to program a breadboarded chip as described at http://hackaday.com/2015/10/09/arming-a-breadboard-everyone-should-program-an-arm/ -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

Re: [fpc-devel] new features and facilities

2015-10-10 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Sat, 10 Oct 2015, Sven Barth wrote: Am 10.10.2015 10:51 schrieb "Mark Morgan Lloyd" < markmll.fpc-de...@telemetry.co.uk>: Michael Van Canneyt wrote: On Fri, 9 Oct 2015, Sven Barth wrote: I'm not sure this kind of semantics is pos

Re: [fpc-devel] new features and facilities

2015-10-10 Thread Mark Morgan Lloyd
tter if it could be generalised to evaluate and return one of any number of expressions. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillis

Re: [fpc-devel] goto illegal in fpc?

2015-10-09 Thread Mark Morgan Lloyd
Schneider wrote: Folks: https://alum.mit.edu/www/toms/ftp/shell.p Shows up as a bad link here. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-

Re: [fpc-devel] new features and facilities

2015-10-09 Thread Mark Morgan Lloyd
evel. They're both just tokens to the compiler. At least "?" has the advantage of being new and not yet used, so is unambiguously. Jonas, what's your take on this as an overall language guru? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are th

Re: [fpc-devel] new features and facilities

2015-10-08 Thread Mark Morgan Lloyd
thing I do have problems with is the difficulty people had explaining nested inline ifs during the 1960s. However I think that was more because they simply hadn't worked out how to write language documentation rather than there being anything inherently tricky about it, and these days there

Re: [fpc-devel] new features and facilities

2015-10-08 Thread Mark Morgan Lloyd
there's /always/ an ELSE, so there's no risk of apparent ambiguity due to "dangling else": a closing END or FI isn't needed. It's more difficult to argue for inline CASE, particularly since that one might have optional ELSE or OTHERWISE. -- Mark Morgan Lloyd markM

Re: [fpc-devel] new features and facilities

2015-10-08 Thread Mark Morgan Lloyd
David W Noon wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 08 Oct 2015 16:12:56 +, Mark Morgan Lloyd (markmll.fpc-de...@telemetry.co.uk) wrote about "Re: [fpc-devel] new features and facilities" (in ): Ondrej Pokorny wrote: As Michael has said, adding an extra

Re: [fpc-devel] new features and facilities

2015-10-08 Thread Mark Morgan Lloyd
and Embarcadero looks like they won't add it at all :) Inline if is an ALGOL feature, and it's inexplicable why it's never been in Pascal. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his emp

Re: [fpc-devel] FPC 3.0.0-rc1 release

2015-08-27 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: I still have a few NT4 app servers, and a very small number of W2K systems. Possession That's not the important question, rather how much new software do you develop for those? I'd not expect to shi

Re: [fpc-devel] FPC 3.0.0-rc1 release

2015-08-27 Thread Mark Morgan Lloyd
e NT4 APIs were basically not fully implemented by Microsoft. The bottom line with both NT4 and W2K is that ancillary software like installation programs are no longer viable. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not t

Re: [fpc-devel] Pascal Standard, and what we can do.

2015-07-23 Thread Mark Morgan Lloyd
R = MARK THEN GO TO A9; I := J := I+1; S[I] := R; MOVE(NAME, V[I]); GO TO A0; A2: IF F[S[J-1]] = G[S[J]] THEN BEGIN J := J-1; GO TO A2 END; M := MTB[S[J]]; A3: IF PRTB[M] = 0 THEN BEGIN ERROR(5); GO TO EXIT END; N := J; And that's Wirth's code, by the way. -- Mark Morgan Lloyd markMLl

Re: [fpc-devel] Pascal Standard, and what we can do.

2015-07-22 Thread Mark Morgan Lloyd
s followed by a single statement (ALGOL 60, Pascal) or by multiple statements followed by fi or end (ALGOL 68, Modula). And then there's x := if...then...else...; which exists in ALGOL and (in a more compact form) in C, but not in Pascal and its derivatives. And those are the shibb

Re: [fpc-devel] Pascal Standard, and what we can do.

2015-07-19 Thread Mark Morgan Lloyd
stability. Formal standards only work if they have the support of a major standards body from day one. And informal industry standards normally take the form of openly-published documentation, and we've got that in abundance (but if Den wants to help with the indexing, I'm sure we'd

Re: [fpc-devel] grab_vcsa permissions when building from source

2015-06-28 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: On Linux (other unixes untested), (afaik vcsa is a linux only thing) I can confirm it's not in the build for Solaris. I notice that when installing prebuilt binaries grab_vcsa is setuid root, but when building

[fpc-devel] grab_vcsa permissions when building from source

2015-06-28 Thread Mark Morgan Lloyd
eport? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/li

Re: [fpc-devel] Internal linker bug?

2015-06-25 Thread Mark Morgan Lloyd
tool (originally suggested by José Mejuto). -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.free

Re: [fpc-devel] bitwise shift oddity a << b

2015-05-19 Thread Mark Morgan Lloyd
f it falls outside the range of shift values whose behaviour is defined). Alternatively, could it be coopted into something useful e.g. a count of the zero bits on the left/right of the operand? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, n

Re: [fpc-devel] New preprocessor directive

2015-05-17 Thread Mark Morgan Lloyd
Entering DoNested Nested handling in DoNested Exiting DoNested Exiting MyMethod Exiting $main Useful, thanks. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colle

Re: [fpc-devel] FPC and OpenSXCE/Illumos/Solaris 11

2015-05-13 Thread Mark Morgan Lloyd
Jonas Maebe wrote: Mark Morgan Lloyd wrote on Wed, 13 May 2015: That particular machine self-destructed, so I don't have an adequate record of what versions of gld/ld were installed. A rebuilt system using the SunFreeware libraries etc. (which are for Solaris 10 rather than 11) appears

Re: [fpc-devel] FPC and OpenSXCE/Illumos/Solaris 11

2015-05-13 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: I'm taking a minimal look at OpenSXCE, which is a compilation of Illumos (formerly Open Solaris 11 etc.) for SPARC. I've already got SPARC Solaris 10 running, so am able to see what's different rather than being confused by a completely unfamiliar pla

[fpc-devel] FPC and OpenSXCE/Illumos/Solaris 11

2015-03-23 Thread Mark Morgan Lloyd
ete Unicode support etc. However in view of the proprietary nature of both Solaris and SPARC I'm not proposing to put much time into it- unless of course the existing problems turn out to be trivial. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the

Re: [fpc-devel] FPC CHM files

2015-02-13 Thread Mark Morgan Lloyd
I ran into various problems which gave me the impression that the raw help file data required the utilities in the matching FPC version: is that reasonable, or should the format from 2.0.0 onwards be absolutely invariant? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions abo

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 12 Feb 2015, at 14:13, Mark Morgan Lloyd wrote: Jonas Maebe wrote: On 12 Feb 2015, at 12:17, Mark Morgan Lloyd wrote: I presume that ld from Xcode 2.0 is slightly too old, and that that flag isn't supported. Is there a way of accommodating this at the command

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
ike... again, I assume that somebody's picked any problems up already on such a popular platform. If FPC's -k option can add linker options, wouldn't an option to remove them be useful? I'll probably be back with more problems... -- Mark Morgan Lloyd markMLl .AT. tel

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 12 Feb 2015, at 12:17, Mark Morgan Lloyd wrote: I presume that ld from Xcode 2.0 is slightly too old, and that that flag isn't supported. Is there a way of accommodating this at the command line, or is the only way by finding the flag in the build files and disa

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Afaik that's it, binutils+make+gdb from xcode + the installer. Thanks, I'll see where I get to. Testing 2.7.1 at revision 29398, compiling with make NOGDB=1 OPT='-V2.6.4 -O- -gl -Xs-' all which has worked for the other architectures I've

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: which refers me to http://www.freepascal.org/xcode.html which turns out to be a redirect to http://www.freepascal.org/down/powerpc/macosx.html That's wrong and lands you on an old copy of the site. The central s

[fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
, he was last heard of discovering that his bicycle was incompatible with Brno's tram tracks). Can anybody tell me definitively what else I need, and what I should be doing next? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the autho

Re: [fpc-devel] SVN checkout errors

2015-01-27 Thread Mark Morgan Lloyd
e FPC/Lazarus repositories are very sensitive to routing changing in the middle of a checkout. This shows up in particular if working on a system emulated by Qemu etc., making sure that all traffic leaves us over the same line results in a dramatic improvement. -- Mark Morgan Lloyd markML

Re: [fpc-devel] FPC on SPARC Linux

2015-01-07 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Pierre Free Pascal wrote: Hi Mark, did you try to generate the libraries needed to compile FP IDE with GDB support by using the script in fpcsrc/packages/gdbint/gen-gdblib-inc.sh ? If you have a build directory of a certain GDB version (let's say 7.8.1

Re: [fpc-devel] FPC on SPARC Linux

2014-12-31 Thread Mark Morgan Lloyd
ithout any underlying adjustments. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepas

Re: [fpc-devel] FPC on SPARC Linux

2014-12-31 Thread Mark Morgan Lloyd
Joost van der Sluis wrote: On 12/30/2014 07:12 PM, Mark Morgan Lloyd wrote: /usr/bin/ld: cannot find -lgcc Install the libc-(devel) package. And your message is not completely clear, does it compile without gdb? See also the Lazarus-FAQ. Up to date URL please? The version I see is dated

Re: [fpc-devel] FPC on SPARC Linux

2014-12-31 Thread Mark Morgan Lloyd
bin, hence the fpc binary from trunk has overwritten the one from 2.6.4 which IMO should not be allowed to happen. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] __

[fpc-devel] FPC on SPARC Linux

2014-12-30 Thread Mark Morgan Lloyd
failed (OK without debugger), older versions generally OK. I'm not at this point able to say which versions I've exercised the debugger with, above is build only. I can live without a debugger, all I'm aiming for at the moment is to have a version of FPC which will work with a fai

Re: [fpc-devel] OS/2 and DLLs

2014-12-18 Thread Mark Morgan Lloyd
is a hobby project. I second that. However I'd add that I do so advisedly: I used OS/2 for quite a few years and I still feel unwell whenever I see it mentioned. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employer

Re: [fpc-devel] BOOL

2014-12-15 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: I agree that zero and false are generally equivalent, except possibly in the case of unix shell scripts where it gets messy. It's arguably unsafe to ever cast true to a number or enumeration, and possibly the best behaviour would be to ensure that the compiler a

Re: [fpc-devel] BOOL

2014-12-15 Thread Mark Morgan Lloyd
scripts where it gets messy. It's arguably unsafe to ever cast true to a number or enumeration, and possibly the best behaviour would be to ensure that the compiler always handled for b := false to not false do and for b := not false to false do the same. -- Mark Morgan Lloyd markMLl .AT.

[fpc-devel] Dynamic codepages etc.

2014-12-11 Thread Mark Morgan Lloyd
quot;April Fool" joke but still makes a good point.) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@

Re: [fpc-devel] ThousandSeparator

2014-11-27 Thread Mark Morgan Lloyd
ation mechanism. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/li

Re: [fpc-devel] ThousandSeparator

2014-11-26 Thread Mark Morgan Lloyd
comparable on other OSes could be a problem, even if user apps and their associated RTLs were happy handling a change. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Re: [fpc-devel] ThousandSeparator

2014-11-25 Thread Mark Morgan Lloyd
a cheque? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/lis

Re: [fpc-devel] CMem allocator memory alignment experiment

2014-11-19 Thread Mark Morgan Lloyd
Sergei Gorelkin wrote: 19.11.2014 15:16, Marco van de Voort ?:> In our previous episode, Mark Morgan Lloyd said:>>>> introduces a very significant performance overhead;>>>>>> Linux also does this.>>>> On some but by no means all platforms. I&

Re: [fpc-devel] CMem allocator memory alignment experiment

2014-11-19 Thread Mark Morgan Lloyd
between a dynamically-loaded library (DLL or so) and the main program. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel maillist - fpc-devel@lists

Re: [fpc-devel] CMem allocator memory alignment experiment

2014-11-19 Thread Mark Morgan Lloyd
r platforms (in particular x86_64) for which both Solaris and Linux are implemented. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel ma

Re: [fpc-devel] CMem allocator memory alignment experiment

2014-11-19 Thread Mark Morgan Lloyd
tion requires alignment, but the kernel traps alignment errors and fixes them silently. SPARC Solaris does this and my understanding is that it introduces a very significant performance overhead; ARM Linux may also do it (where demanded by the hardware) but my understanding is that notificat

Re: [fpc-devel] PostgreSQL SQLdb transactions

2014-11-05 Thread Mark Morgan Lloyd
le. A facility to temporarily cache the IP address, or possibly an application-supplied list of pool names/addresses, would be useful. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

Re: [fpc-devel] Small virtual machine to cross compile FPC

2014-10-28 Thread Mark Morgan Lloyd
lopment host is likely to have more memory than a target system which will have major implications on (linkage) speed, and it's probably undesirable to thrash a target system if its filesystem is based on Flash. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above a

Re: [fpc-devel] VMS Pascal Compiler mode

2014-10-27 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: I see from your reference that the compiler extends ANSI/ISO Pascal, but there's no indication of whether, when it was written, it was based on Jensen & Wirth or the somewhat later ISO standard. Was it wri

Re: [fpc-devel] VMS Pascal Compiler mode

2014-10-27 Thread Mark Morgan Lloyd
rth or the somewhat later ISO standard. Was it written from scratch, or was it initially based on something like the P6 compiler which I believe was on some DEC systems? ** Anybody: what's the state of the -Miso mode? I don't see it in the -h output. -- Mark Morgan Lloyd markMLl .AT.

Re: [fpc-devel] fpcmkcfg invocation for two versions (linux)

2014-10-20 Thread Mark Morgan Lloyd
but so far using the most-recent fpc seems compatible with all of 2.2.4 through 2.6.x on multiple native platforms. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] _

Re: [fpc-devel] creating the embedded port of fpc

2014-10-12 Thread Mark Morgan Lloyd
Sietse Achterop wrote: On 10/12/2014 10:54 AM, Mark Morgan Lloyd wrote: Sietse Achterop wrote: Dear list, I try to get the embedded port of fpc (for both lcp1728 and stm32f4) to work but fail. I use the info on http://wiki.freepascal.org/TARGET_Embedded but immediate get: make[1

Re: [fpc-devel] creating the embedded port of fpc

2014-10-12 Thread Mark Morgan Lloyd
rd names? For the moment I use symlinks to get the names that fpc expects. Hopefully someone can help me with these questions. Those triplets are a pain in the backside, the "none" simply means that the binutils build script couldn't work out the precise platform and/or wasn't

Re: [fpc-devel] Suggestion: reference counted objects

2014-09-29 Thread Mark Morgan Lloyd
only for consistency): serial for i := 0 to m-1 do begin parallel for j = 0 to n-1 do begin .. end; end; to ensure that the inner loop is parallelised to the greatest possible extent, but that the outer loop is protected from reentry. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT

Re: [fpc-devel] Suggestion: reference counted objects

2014-09-29 Thread Mark Morgan Lloyd
Michael Schnell wrote: IMHO it usually is better to first decide if you want to drink tea or bear before you run to the fridge or to the cupboard. That could be a fatal error, even if permitted by the parser :-) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the

Re: [fpc-devel] Suggestion: reference counted objects

2014-09-27 Thread Mark Morgan Lloyd
Hans-Peter Diettrich wrote: Mark Morgan Lloyd schrieb: Boian Mitov wrote: I think parallel processing belongs in library implementations. I have reservations, based in part on the fact that other language implementations are prepared to assume responsibility for parallelisation, in part

Re: [fpc-devel] Suggestion: reference counted objects

2014-09-26 Thread Mark Morgan Lloyd
that operations are parallelised, and in part on the fact that FPC already vectorises on e.g. SSE2 hardware. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___

Re: [fpc-devel] Suggestion: reference counted objects

2014-09-26 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 09/26/2014 05:31 PM, Mark Morgan Lloyd wrote: . A parallel loop syntax is very attractive, but the practical difficulty is that it would probably have to sit on top of threads and getting code distributed promptly over multiple worker threads, i.e. starting up

Re: [fpc-devel] Suggestion: reference counted objects

2014-09-26 Thread Mark Morgan Lloyd
e or block modifiers can be declared as part of the language but implemented as replaceable runtimes. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-devel m

  1   2   3   4   5   6   7   >