Re: [fpc-pascal] Is there a recent change to TProcess?

2024-12-20 Thread Karoly Balogh via fpc-pascal
Hi, On Fri, 20 Dec 2024, Michael Van Canneyt via fpc-pascal wrote: > > If I compile it with: > > Free Pascal Compiler version 3.3.1-16969-g798f2ba632-dirty [2024/11/28] for > > i386 > > I get almost what I expected, but my #$EE is now been changed to #$3F (and > > all similar codes in the range

Re: [fpc-pascal] Incremental compiling not working in new version

2024-12-05 Thread Karoly Balogh via fpc-pascal
Hi, On Thu, 5 Dec 2024, Hairy Pixels via fpc-pascal wrote: > On Dec 5, 2024 at 12:27:37 AM, Michael Van Canneyt via fpc-pascal > wrote: > Yes, this is still on my todo list. The main problem is to have a really > minimal example that demonstrates the issue. (and with minimal I mean

Re: [fpc-pascal] dlmopen on MacOS

2024-11-20 Thread Karoly Balogh via fpc-pascal
Hi, On Wed, 20 Nov 2024, Adriaan van Os via fpc-pascal wrote: > On Linux I would use dlmopen with LM_ID_NEWLM, but MacOS doesn't have > dlmopen and dlopen doesn't have LM_ID_NEWLM. (...) > One wonders how operating systems can be designed that brainlessly. "Reality doesn't support the assumpti

Re: [fpc-pascal] What to do to get new users

2024-11-16 Thread Karoly Balogh via fpc-pascal
HI, On Sat, 16 Nov 2024, Michael Van Canneyt via fpc-pascal wrote: > By contrast, there is only one Python. There is only one Rust, Ruby > whatnot. Their compiler/interpreters *are* the language, so there it is > logical and suitable to present the language on their site. Actually, there's some

Re: [fpc-pascal] Fwd: What to do to get new users

2024-10-18 Thread Karoly Balogh via fpc-pascal
Hi, On Fri, 18 Oct 2024, Marco van de Voort via fpc-pascal wrote: > >> Embarcadero tried it in Delphi, and they failed. Not surprisingly, > >> they removed again all automatic memory management. > > Maybe it was mentioned in the thread, I just glanced through it, but how > > about ARC (Automatic

Re: [fpc-pascal] Fwd: What to do to get new users

2024-10-18 Thread Karoly Balogh via fpc-pascal
Hi, On Thu, 17 Oct 2024, Michael Van Canneyt via fpc-pascal wrote: > By contrast, Pascal is not designed with GC in mind. > You'd need to redesign the language. > > If you do that, you can throw away all existing code if you introduce GC, > because the two concepts do not merge easily. > > Embarc

Re: [fpc-pascal] FP IDE sources

2024-03-14 Thread Karoly Balogh via fpc-pascal
Hi, On Thu, 14 Mar 2024, Guillermo Martínez Jiménez via fpc-pascal wrote: > I thought "packages" were libraries not applications, as there is an > "utils" directory with programs. I agree, I'm also not very fond of the IDE being in packages, but most of the team considers it a legacy piece of co

Re: [fpc-pascal] FP IDE sources

2024-03-13 Thread Karoly Balogh via fpc-pascal
Hi, On Wed, 13 Mar 2024, Guillermo Martínez Jiménez via fpc-pascal wrote: > Hi Pascaloids, > > I was looking for the FP IDE sources to check how it renders the ASCII > table and manage the mouse input, but I'm not able to find them. > They're not in GitLab, not in the source packages, not in the

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 8 Jan 2024, Marco van de Voort via fpc-pascal wrote: > > Op 8-1-2024 om 14:03 schreef Karoly Balogh via fpc-pascal: > > No, it's not. But the Linker specific options are under Options -> > > Linker... There's a smartlinking related option there, but I&#

Re: [fpc-pascal] What's in Hello World

2024-01-08 Thread Karoly Balogh via fpc-pascal
Hi, On Sun, 7 Jan 2024, James Richters via fpc-pascal wrote: > >Try building with smartlinking, -XX > > I never knew there was an option for smartlinking. I'm using the FPC text > IDE, I see various options like > Generate Smaller Code, and level 1, 2, and 3 optimizations, but I don't see > any

Re: [fpc-pascal] What's in Hello World

2024-01-07 Thread Karoly Balogh via fpc-pascal
Hi, On Sun, 7 Jan 2024, Florian Klämpfl via fpc-pascal wrote: >> Am 07.01.2024 um 13:21 schrieb Ingemar Ragnemalm via fpc-pascal >> : >> >> Just for comparison, I fired up Think Pascal and made Hello world! >> >> Plain Hello world, closes so quickly that you don't have time to see >> it: 4625 by

Re: [fpc-pascal] What's in Hello World

2024-01-07 Thread Karoly Balogh via fpc-pascal
Hi, On Sun, 7 Jan 2024, Michael Van Canneyt via fpc-pascal wrote: > > To underline this with some numbers (I assume you mean the > > demo/text/hello.pp which only contains a mere "Writeln('Hello World')" > > and no additional units; all tests on x86_64-linux with 3.3.1): > > > > - FPC compiled as

Re: [fpc-pascal] What's in Hello World

2024-01-07 Thread Karoly Balogh via fpc-pascal
Hi, On Sun, 7 Jan 2024, Ingemar Ragnemalm via fpc-pascal wrote: > Just for comparison, I fired up Think Pascal and made Hello world! > > Plain Hello world, closes so quickly that you don't have time to see it: 4625 > bytes. > > Including ShowText and while not Button do; 4639 bytes. > > Yes, les

Re: [fpc-pascal] New VASM upgrade to 1.9d breaks z80-msxdos and z80-zxspectrum builds

2023-04-25 Thread Karoly Balogh via fpc-pascal
Hi, On Tue, 25 Apr 2023, Pierre Muller via fpc-pascal wrote: >I tested 1.9d version on a test machine, > m68k targets are OK, but z80 targets now fail with: > > Executing "/FPC/compilers/cross-compiling/bin/z80-msxdos-vasmz80_std" with > command line "-quiet -Fvobj -o > /FPC/compilers/cross-c

Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build

2023-04-24 Thread Karoly Balogh via fpc-pascal
Hi, On Sat, 22 Apr 2023, Derek via fpc-pascal wrote: > I downloaded the updated version of vasm v1.9d and compiled and installed as > per Norman's document. Just as a final update to this thread, Frank informed me, that the official vasm 1.9d release is now out, so all users should upgrade to th

Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build

2023-04-21 Thread Karoly Balogh via fpc-pascal
Hi, On Wed, 19 Apr 2023, Norman Dunbar via fpc-pascal wrote: > Thanks Charlie, I will be staying on 1.9 until further notice. I was in touch with Frank Wille, and he confirmed the issue was indeed in vasm, and he provided a fix. You can try to download the "Daily Snapshot", from the vasm site, a

Re: [fpc-pascal] VASM upgrade to 1.9 breaks cross compiler build

2023-04-18 Thread Karoly Balogh via fpc-pascal
Hi, On Tue, 18 Apr 2023, Norman Dunbar via fpc-pascal wrote: > I'm wondering where we go from here? The VASM home page doesn't seem to have > any bug reporting facilities. Is there something that the FPC project can take > forward, or should I attempt to find a link etc to report bugs in vasm? I

Re: [fpc-pascal] IRC channel for FreePascal support ?

2023-04-13 Thread Karoly Balogh via fpc-pascal
Hi, On Thu, 13 Apr 2023, geneb via fpc-pascal wrote: > On Thu, 13 Apr 2023, Steve Litt via fpc-pascal wrote: > > > I bet this Joanna character is an active member of her Homeowners > > Association. > > > If we can reach the server admin, force a nick change to "Joanna " > *rofl* Can we keep this

Re: [fpc-pascal] Converting old pascal written for Pascal/MT+ compiler

2023-03-28 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 27 Mar 2023, Jacob Kroon via fpc-pascal wrote: > As I understand it, in order to translate this to something that FreePascal > understands, the variable needs to go in a "unit" and be part of its > interface. Then, pascal sources that needs to reference the variable should > use this

Re: [fpc-pascal] Lack of PIC code support for m68k CPU (was: FPC crashes with Internal error 200502052 compiling shared library on m68k)

2023-03-10 Thread Karoly Balogh via fpc-pascal
Hi, On Fri, 10 Mar 2023, Peter B via fpc-pascal wrote: > Thanks for your interest in this Charlie. > > Just requesting that maybe any more thoughts on this subject could go to the > bug report? > > https://gitlab.com/freepascal.org/fpc/source/-/issues/40177 > > As this thread will probably be los

Re: [fpc-pascal] Lack of PIC code support for m68k CPU (was: FPC crashes with Internal error 200502052 compiling shared library on m68k)

2023-03-10 Thread Karoly Balogh via fpc-pascal
Hi, On Thu, 9 Mar 2023, Peter B via fpc-pascal wrote: > Note, I have raised a bug report for this crash now. > https://gitlab.com/freepascal.org/fpc/source/-/issues/40177 Thanks for this. > Given that -fpic is unsupported on m68k, perhaps the compiler could > abort an attempted -fpic compilatio

Re: [fpc-pascal] MQTT package for freepascal/lazarus?

2022-10-11 Thread Karoly Balogh via fpc-pascal
Hi, On Tue, 11 Oct 2022, Bo Berglund via fpc-pascal wrote: > I am looking for a pascal implementation of the MQTT protocol. > I could not find anything inside Lazarus' OnLinePackageManager. > > Is there something like that available? I made a front-end Pascal library, and and Object Pascal wrapp

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 22 Aug 2022, Anthony Walter via fpc-pascal wrote: > I know in the past I had been able to compile / link libraries created > with MinGW GCC on Windows. Parts of the problem also include determining > which other static dependencies to link IN ADDITION to the order of the > linking. Ye

Re: [fpc-pascal] I am offering a $100 reward for linking static libraries

2022-08-22 Thread Karoly Balogh via fpc-pascal
Hi, On Sun, 21 Aug 2022, Anthony Walter via fpc-pascal wrote: > I will pay $100 to the first person that can solve my problem of linking > a compiled C static library to a Free Pascal program on Windows. I'm not an expert for FPC on Windows by any meanns, but I think I've ran into the problems y

Re: [fpc-pascal] Just out of curiosity: Compiling FPC trunk and fpcmake

2022-03-22 Thread Karoly Balogh via fpc-pascal
Hi, On Tue, 22 Mar 2022, Victor Campillo via fpc-pascal wrote: > On 22/3/22 9:51, Mattias Gaertner via fpc-pascal wrote: > > Is this paranoid or useful? > > -O- -O1 > > > Good point. My script have many years and I don't remember why I used this > options or if I gathered them from someone else,

Re: [fpc-pascal] Just out of curiosity: Compiling FPC trunk and fpcmake

2022-03-22 Thread Karoly Balogh via fpc-pascal
Hi, On Tue, 22 Mar 2022, Marco van de Voort via fpc-pascal wrote: > > On 21-3-2022 22:45, Karoly Balogh via fpc-pascal wrote: > > Hi, > > I can reproduce this, or something very similar for the clean/distclean > > targets, if I have no FPC installed on my machine

Re: [fpc-pascal] Just out of curiosity: Compiling FPC trunk and fpcmake

2022-03-21 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 21 Mar 2022, Michael Van Canneyt via fpc-pascal wrote: > > For years I have been using the same script to compile FPC, I have multiple > > version of FPC installed in the same machine, mainly my script do: > > > > make -j 9 clean all > > > > make -j 9 all install FPMAKEOPT="-T 9" > >

Re: [fpc-pascal] FTP support gone - switch to HTTP ?

2021-05-17 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 17 May 2021, Michael Van Canneyt via fpc-pascal wrote: > I know that Firefox will follow suit really soon (if they haven't already). > Since Edge now also uses Chromium, they will soon also have this disabled. > > This wil surely cause problems for many users. > > So I think we should

Re: [fpc-pascal] Separate release cycle for RTL and compiler proposal

2021-04-19 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 19 Apr 2021, Michael Van Canneyt via fpc-pascal wrote: > > The main remaining problem is our hard-wrapped readme and whatsnew files > > that look terrible in its installer (because it also performs wrapping > > and it uses a proportional font, so many hard-wrapped lines get wrapped >

Re: [fpc-pascal] Separate release cycle for RTL and compiler proposal

2021-04-18 Thread Karoly Balogh via fpc-pascal
Hi, On Mon, 19 Apr 2021, Sven Barth via fpc-pascal wrote: >> Am 18.04.2021 um 23:29 schrieb Zamrony P. Juhara via fpc-pascal: >> >> I would like to propose to separate RTL release  from compiler release >> so that RTL bug fixes and features can be released with shorter release >> cycle. Is that p

Re: [fpc-pascal] SinclairQL (M68K) Port

2021-03-21 Thread Karoly Balogh via fpc-pascal
Hi, On Sat, 20 Mar 2021, Norman Dunbar via fpc-pascal wrote: > Back in November, we had a visit on our Sinclair QL forum > (qlforum.co.uk) from ChainQ informing us that he had created a Sinclair > QL version of Free Pascal for M68K. Quite a number of people showed > interest, including myself --

Re: [fpc-pascal] Smart-linking versus Whole Program Optimization

2021-03-10 Thread Karoly Balogh via fpc-pascal
Hi, On Wed, 10 Mar 2021, Yuriy Sydorov via fpc-pascal wrote: > > Neither parameter may be necessary on Windows, but that's probably the > > only one. > > Android and MS-DOS targets also ignore -CX -XX * when using the internal linker... :) External linkers may be supported for these targets, jus