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

2018-09-17 Thread Mark Morgan Lloyd
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.freepascal.org http

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

2018-04-27 Thread Mark Morgan Lloyd
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 are the author's, not those of

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

2018-03-22 Thread Mark Morgan Lloyd
t of them are CamelCase but some 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

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

2018-02-25 Thread Mark Morgan Lloyd
ark 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 believe parameter

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's, not those of his

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 approp

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 colleagues

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

2017-12-06 Thread Mark Morgan Lloyd
t. I 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, not

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 his employers o

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

2017-10-04 Thread Mark Morgan Lloyd
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] ___ fpc-devel maillist - f

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

2017-07-02 Thread Mark Morgan Lloyd
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 markMLl .A

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

2017-05-29 Thread Mark Morgan Lloyd
/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 [Opinions above are the author's, not those of hi

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 aboutSPA

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

2017-05-29 Thread Mark Morgan Lloyd
ly 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 multiarch to allow 32-bit binaries to run seamlessly? -- Mark

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

2017-05-20 Thread Mark Morgan Lloyd
uot;? 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-devel maillist

Re: [fpc-devel] FPC 3.0.2 for SPARC

2017-05-08 Thread Mark Morgan Lloyd
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 colleagues

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
o 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.freepascal.org/cgi-

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

[fpc-devel] FPC 3.0.2 for SPARC

2017-05-05 Thread Mark Morgan Lloyd
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 maillist - fpc

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" i

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

2016-11-08 Thread Mark Morgan Lloyd
ers 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] ___ fpc-deve

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

2016-10-31 Thread Mark Morgan Lloyd
, 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 employers or colleagues

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 <markmll.fpc-de...@telemetry.co.uk> 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'

Re: [fpc-devel] Using double quotes

2016-02-27 Thread Mark Morgan Lloyd
xtend 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 - fpc-devel@lists.freepasca

Re: [fpc-devel] Random thread-safe

2016-01-28 Thread Mark Morgan Lloyd
itter 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] ___ fpc-devel ma

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 the results

Re: [fpc-devel] Program too long ?

2016-01-15 Thread Mark Morgan Lloyd
es 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-devel maillist - fpc-d

Re: [fpc-devel] Program too long ?

2016-01-14 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] Program too long ?

2016-01-14 Thread Mark Morgan Lloyd
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://lists.freepascal.org/cgi-bin

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

Re: [fpc-devel] Timezones

2015-11-17 Thread Mark Morgan Lloyd
-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 markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's

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
nvert 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 of his emp

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

2015-10-14 Thread Mark Morgan Lloyd
tempts 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 pig. -- Mark Morgan Lloyd markMLl .AT. telem

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

2015-10-13 Thread Mark Morgan Lloyd
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 [Opinions above are the author's, not those of his employers or colleagues] _

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

2015-10-12 Thread Mark Morgan Lloyd
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 of his employers or

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

2015-10-11 Thread Mark Morgan Lloyd
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 colleagues

Re: [fpc-devel] new features and facilities

2015-10-10 Thread Mark Morgan Lloyd
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 maillist - fpc-devel

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 possible

Re: [fpc-devel] new features and facilities

2015-10-09 Thread Mark Morgan Lloyd
level. 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

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-devel

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 employers or colleagues

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 <mv64m9$95v$1...@pye-srv-01.telemetry.co.uk>): Ondr

Re: [fpc-devel] new features and facilities

2015-10-08 Thread Mark Morgan Lloyd
'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 markMLl .AT. telemetry.co .DOT.

Re: [fpc-devel] new features and facilities

2015-10-08 Thread Mark Morgan Lloyd
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's absolutely no reason why it shouldn't be spaced and indented in

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

2015-08-27 Thread Mark Morgan Lloyd
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 those of his employers or colleagues

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 ship anything

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

2015-07-23 Thread Mark Morgan Lloyd
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 .AT. telemetry.co

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

2015-07-19 Thread Mark Morgan Lloyd
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 all appreciate it). -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above

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 from

[fpc-devel] grab_vcsa permissions when building from source

2015-06-28 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

Re: [fpc-devel] Internal linker bug?

2015-06-25 Thread Mark Morgan Lloyd
to the conversion 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

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

2015-05-19 Thread Mark Morgan Lloyd
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, not those of his

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 colleagues

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 platform

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

2015-03-23 Thread Mark Morgan Lloyd
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 author's, not those of his employers

Re: [fpc-devel] FPC CHM files

2015-02-13 Thread Mark Morgan Lloyd
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 above

[fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
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 author's, not those of his employers or colleagues

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 site's

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 tried it on, I get /bin

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 disabling

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 line

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

2015-02-12 Thread Mark Morgan Lloyd
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. telemetry.co .DOT. uk [Opinions above are the author's, not those of his

Re: [fpc-devel] SVN checkout errors

2015-01-27 Thread Mark Morgan Lloyd
/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 markMLl

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
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

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
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.freepascal.org/cgi-bin

[fpc-devel] FPC on SPARC Linux

2014-12-30 Thread Mark Morgan Lloyd
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 fairly recent Lazarus so that I can publish some stuff I've been working on. -- Mark Morgan Lloyd

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 employers or colleagues

Re: [fpc-devel] BOOL

2014-12-15 Thread Mark Morgan Lloyd
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. telemetry.co .DOT. uk

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 always

[fpc-devel] Dynamic codepages etc.

2014-12-11 Thread Mark Morgan Lloyd
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@lists.freepascal.org http

Re: [fpc-devel] ThousandSeparator

2014-11-27 Thread Mark Morgan Lloyd
the same notification 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

Re: [fpc-devel] ThousandSeparator

2014-11-26 Thread Mark Morgan Lloyd
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] ___ fpc-devel

Re: [fpc-devel] ThousandSeparator

2014-11-25 Thread Mark Morgan Lloyd
on 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/listinfo

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

2014-11-19 Thread Mark Morgan Lloyd
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 notifications can be enabled. -- Mark Morgan Lloyd markMLl

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

2014-11-19 Thread Mark Morgan Lloyd
(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 maillist - fpc-devel

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

2014-11-19 Thread Mark Morgan Lloyd
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.freepascal.org

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'm specifically trying to highlight the fact that on SPARC

Re: [fpc-devel] PostgreSQL SQLdb transactions

2014-11-05 Thread Mark Morgan Lloyd
. 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 colleagues

Re: [fpc-devel] VMS Pascal Compiler mode

2014-10-27 Thread Mark Morgan Lloyd
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. telemetry.co .DOT. uk [Opinions above

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 written from

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

2014-10-20 Thread Mark Morgan Lloyd
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] ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http

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] 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

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-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
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 maillist - fpc

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
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] ___ fpc-devel

Re: [fpc-devel] MIPS big-endian program starts but does nothing

2014-09-09 Thread Mark Morgan Lloyd
. that FPC and the OS are compatible? Or is there a set of portable options that will already do this, which could be documented prominently? After all, there's been comparable issues on ARM, and there might be more on various platforms in the future. -- Mark Morgan Lloyd markMLl

Re: [fpc-devel] MIPS big-endian program starts but does nothing

2014-09-09 Thread Mark Morgan Lloyd
Tomas Hajny wrote: On Tue, September 9, 2014 10:20, Mark Morgan Lloyd wrote: . . I was wondering whether a completely empty program would be a better test than a Hello, World!. Could a completely empty program be recognised by the compiler etc. as a special case and built with only minimal

Re: [fpc-devel] MIPS big-endian program starts but does nothing

2014-09-09 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: In addition, what is the supposed difference between an empty program and program built with only minimal RTL initialisation? I don't see why something like this program test; begin end. should use anything other than

Re: [fpc-devel] MIPS big-endian program starts but does nothing

2014-09-06 Thread Mark Morgan Lloyd
wound down with the consensus that the distro had custom libraries, possibly derived from ulibc, and that the compiler etc. would have to be specially built for those. I was hoping to set a Qemu-based system to investigate, but didn't get anywhere due to other commitments. -- Mark Morgan

Re: [fpc-devel] MIPS big-endian program starts but does nothing

2014-09-06 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: On 06/09/2014 12:20, Mark Morgan Lloyd wrote: I think the previous discussion wound down with the consensus that the distro had custom libraries, possibly derived from ulibc, and that the compiler etc. would have to be specially built for those. I was hoping to set

Re: [fpc-devel] [Slightly off-topic]Mark Morgan Lloyd: Burroughs emulator

2014-08-08 Thread Mark Morgan Lloyd
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

  1   2   3   4   5   6   >