[fpc-pascal] fpmmap problem 64 bit linux

2020-11-20 Thread Rainer Stratmann via fpc-pascal
A 32 bit freepascal program on a 32 bit Linux Debian system is working properly. It uses fpmmap for getting the adress of a kms framebuffer. The same 32 bit program on a 64 bit Linux Debian system *** is not working. When it comes to the fpmmap it gives an error: Sys_EINVAL One of the record

Re: [fpc-pascal] fpmmap problem 64 bit linux

2020-11-21 Thread Rainer Stratmann via fpc-pascal
is the easiest answer is "distribute both > 32 and 64 bit versions," but that doesn't help when you need to test the 32 > bit one.. > > -- > Alexander Grotewohl > https://dcclost.com > > -- > Alexander Grotewohl > https://dcclost.com > ___________

Re: [fpc-pascal] fpmmap problem 64 bit linux

2020-11-22 Thread Rainer Stratmann via fpc-pascal
bytes). https://man7.org/linux/man-pages/man2/mmap2.2.html But it is not yet implemented. FPC 3.0.4 Am Samstag, 21. November 2020, 13:31:22 CET schrieb Rainer Stratmann via fpc- pascal: > I watched the syscalls with strace and my assumption was confirmed. > > function Fpmmap( start

Re: [fpc-pascal] 50 Years of Pascal

2021-02-24 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 24. Februar 2021, 17:50:45 CET schrieb Liam Proven via fpc- pascal: > I thought this might interest folks. Apologies if I am late to the party. > > https://cacm.acm.org/magazines/2021/3/250705-50-years-of-pascal/fulltext https://de.wikipedia.org/wiki/Niklaus_Wirth Here is an interes

Re: [fpc-pascal] 50 years of Pascal, by the the author himself

2021-05-12 Thread Rainer Stratmann via fpc-pascal
https://www.mikroe.com/mikropascal-avr It is in heavy use. They have Pascal compilers for ARM, PIC, etc. also. Am Mittwoch, 12. Mai 2021, 21:51:03 CEST schrieb Ryan Joseph via fpc-pascal: > > On May 12, 2021, at 12:30 PM, Ralf Quint via fpc-pascal > > wrote: > > > > Thought this was kind of in

[fpc-pascal] Example for unit paszlib

2021-08-25 Thread Rainer Stratmann via fpc-pascal
Is there an example for the unit paszlib? This does not work: https://wiki.lazarus.freepascal.org/paszlib I have Lazarus 2.0.0 FPC 3.0.4 May be there are different versions of paszlib. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https

Re: [fpc-pascal] Example for unit paszlib

2021-08-26 Thread Rainer Stratmann via fpc-pascal
Canneyt via fpc-pascal: > On Wed, 25 Aug 2021, Rainer Stratmann via fpc-pascal wrote: > > Is there an example for the unit paszlib? > > > > This does not work: > > https://wiki.lazarus.freepascal.org/paszlib > > What does not work exactly ? the zipper unit is

Re: [fpc-pascal] How To: Use lib curl example

2021-12-05 Thread Rainer Stratmann via fpc-pascal
Does that mean curl is always waiting until the whole operation (download) is complete? Is it possible to do it in a nonblocked way? For example with a continuous nonblocked loop call and a flag when the operation is finished? Am Dienstag, 28. September 2021, 02:01:00 CET schrieb Anthony Walte

Re: [fpc-pascal] How To: Use lib curl example

2021-12-05 Thread Rainer Stratmann via fpc-pascal
Am Sonntag, 5. Dezember 2021, 20:38:30 CET schrieb Rainer Stratmann via fpc- pascal: > Does that mean curl is always waiting until the whole operation (download) > is complete? > > Is it possible to do it in a nonblocked way? For example with a continuous > nonblocked loop call

[fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Rainer Stratmann via fpc-pascal
Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc programm? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 24. Dezember 2021, 23:02:03 CET schrieb Sven Barth via fpc-pascal: > Rainer Stratmann via fpc-pascal schrieb > > am Fr., 24. Dez. 2021, 15:04: > > Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc > > programm? > > No, because your pro

[fpc-pascal] Creating a shared library (Linux)

2021-12-28 Thread Rainer Stratmann via fpc-pascal
https://www.freepascal.org/docs-html/prog/progse55.html When analysing the mylib.o output file under Linux with nm -D mylib.o the answer is: no symbols. I have an export section in the library and in the past it worked already, but I did not remember exactly how. How can I get a shared librar

Re: [fpc-pascal] Creating a shared library (Linux)

2021-12-28 Thread Rainer Stratmann via fpc-pascal
s In the Project settings -> path window could be better explained. Am Dienstag, 28. Dezember 2021, 13:10:56 CET schrieb Rainer Stratmann via fpc- pascal: > https://www.freepascal.org/docs-html/prog/progse55.html > > When analysing the mylib.o output file under Linux with > > nm

Re: [fpc-pascal] How to list IP and MAC of network adapters on Windows?

2021-12-28 Thread Rainer Stratmann via fpc-pascal
May be that helps a little bit. Please give a feedback if it works or not or if you can improve it. I use the curl library directly. Not on the command line. {$ifdef windows} uses sockets , winsock2; procedure adds2( var dw : dword ; p : pointer ); var addr : pinaddr; begin addr := p; if add

[fpc-pascal] freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

2022-01-04 Thread Rainer Stratmann via fpc-pascal
https://freepascal.org/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

2022-01-05 Thread Rainer Stratmann via fpc-pascal
Here it is ok now. Linux Debian, Firefox Browser Am Mittwoch, 5. Januar 2022, 11:05:34 CET schrieb Michael Van Canneyt via fpc- pascal: > On Wed, 5 Jan 2022, Dimitrios Chr. Ioannidis via fpc-pascal wrote: > > Hi, > > > > On 2022-01-05 11:09, Dmitry Boyarintsev via fpc-pascal wrote: > >> On Wed,

[fpc-pascal] Interface section overload procedures are all public

2022-01-23 Thread Rainer Stratmann via fpc-pascal
// making only one procedure bugtest public in the interface section // makes all other bugtest procedures public as well! // Lazarus 2.0.0+dfsg-2 // FPC-Version: 3.0.4 // OS: Linux Debian 32 Bit unit test; interface procedure bugtest( p1 : longint ); implementation procedure bugtest( p1 : lon

Re: [fpc-pascal] Feature announcement: implicit generic function specializations

2022-04-22 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 20. April 2022, 19:15:15 CEST schrieb Sven Barth via fpc-pascal: > This feature is enabled with the modeswitch > ImplicitFunctionSpecialization and is for now not enabled by default as > this has the potential to break existing code. How many percent of the users need this feature? Is

Re: [fpc-pascal] Feature announcement: implicit generic function specializations

2022-04-22 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 22. April 2022, 17:27:33 CEST schrieb Hairy Pixels via fpc-pascal: > > On Apr 22, 2022, at 8:48 PM, Rainer Stratmann via fpc-pascal > It’s like everything else in programming languages. > > 1) you can specialize the function manually so implicit specialization is >

Re: [fpc-pascal] Feature announcement: implicit generic function specializations

2022-04-22 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 22. April 2022, 19:53:34 CEST schrieben Sie: > Am 22.04.2022 um 15:48 schrieb Rainer Stratmann via fpc-pascal: > > Am Mittwoch, 20. April 2022, 19:15:15 CEST schrieb Sven Barth via fpc- pascal: > We don't deal in percentages, however it reduces the amount of typing &g

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Rainer Stratmann via fpc-pascal
Am Montag, 30. Mai 2022, 20:59:56 CEST schrieb Steve Litt via fpc-pascal: > I think adding yet more features obfuscates and Perlizes > Pascal. What does Perlize mean? Only a very little percentage of the code is using it. And you could easily do it in another way. I also don't like make things co

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-28 Thread Rainer Stratmann via fpc-pascal
Am Dienstag, 27. Dezember 2022, 17:47:13 CET schrieb Anthony Walter via fpc- pascal: > Hi guys, > > I had a new idea for an interface design to help people who either are not > into programming yet or have only used a language other than Free Pascal. Hello, the design is really good. I have the

Re: [fpc-pascal] Working on a new way to educate people about pascal

2022-12-29 Thread Rainer Stratmann via fpc-pascal
Am Donnerstag, 29. Dezember 2022, 15:02:41 CET schrieb DougC via fpc-pascal: > The response has been made that the example code in the tutorial is more > complicated than it should be. The installation process (in my case Linux) should be easy as well. For beginners that is at least as important a

[fpc-pascal] Compile time -> processor benchmark values

2023-05-29 Thread Rainer Stratmann via fpc-pascal
Now I have a i7-3770S cpubenchmark says: Average CPU Mark: 6175 Single Thread Rating: 2043 https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-3770S+%40+3.10GHz I expect to buy a new computer with a i5-13400F or similar cpubenchmark says: Average CPU Mark: 25969 Single Thread Rating: 3702 http

[fpc-pascal] Program crash - read the error messages

2023-09-01 Thread Rainer Stratmann via fpc-pascal
Where can I find the output of the error messages if a program crashes. There is another program that still is running. I want to read the error messages automatically if that is possible. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

Re: [fpc-pascal] Program crash - read the error messages

2023-09-01 Thread Rainer Stratmann via fpc-pascal
: EAccessViolation: Access violation $0814EC41 ... ... ... This messages I need to read automatically Am Freitag, 1. September 2023, 16:13:54 CEST schrieb Tomas Hajny via fpc- pascal: > On 2023-09-01 15:43, Rainer Stratmann via fpc-pascal wrote: > > > Hello, > > > Where

Re: [fpc-pascal] Program crash - read the error messages

2023-09-01 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 1. September 2023, 17:57:26 CEST schrieb Tomas Hajny via fpc- pascal: > On 2023-09-01 17:39, Rainer Stratmann via fpc-pascal wrote: > > Ah, sorry. I Forgot it totally. > > > > It is a plain console program under Linux. > > > > Yes, the remaining prog

Re: [fpc-pascal] Program crash - read the error messages

2023-09-01 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 1. September 2023, 18:46:06 CEST schrieb Peter B via fpc-pascal: > Can you compile the crashing program with -gl? Yes, I can. I know this, but then the program is bigger. For finding the error it is useful, yes. Otherwise I switch it off. There are around 100 clients that downlo

Re: [fpc-pascal] RIP: Software design pioneer and Pascal creator Niklaus Wirth

2024-01-05 Thread Rainer Stratmann via fpc-pascal
Misconstruing complexity as sophistication: According to Wirth, “people seem to misinterpret complexity as sophistication.” The more complicated a product is, the more polished or knowledgeable the user would appear. Hence, software vendors create complex software and send this marketing message

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

2024-01-07 Thread Rainer Stratmann via fpc-pascal
Am Sonntag, 7. Januar 2024, 14:09:24 CET schrieb Florian Klämpfl via fpc- pascal: > > 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 t

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

2024-10-19 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 18. Oktober 2024, 18:11:54 CEST schrieb Thomas Young via fpc- pascal: > Rainer, did you create this application with FPC? Please provide more > information about its development. > > Thomas Young > > > On Oct 18, 2024, at 10:48 AM, Rainer Stratmann via

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 11:20:35 CEST schrieb Martin Frb via fpc- pascal: > If it is cross compiling (using same compiler version), and if the > compiler is installed (as cross compiler): > Project Options > Compiler opts > Config and Target But there is not the compiler itself. If you have

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 11:07:25 CEST schrieb Nikolay Nikolov via fpc- pascal: > Or maybe, it's better? I don't know. Maybe explain what do you mean by > "doesn't look like the project is very lively". Maybe we should post > updates more often? It all comes to the point of easy beginning.

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 15:09:47 CEST schrieb Liam Proven via fpc- pascal: > On Wed, 16 Oct 2024 at 00:16, Rainer Stratmann via fpc-pascal > > wrote: > > At the Lazarus Congress in Cologne in October 2024, it ended up being very > > interesting. > > Promoting

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 16:16:45 CEST schrieb Marco van de Voort via fpc-pascal: > > I can't see any contradiction here. If we do things better, everyone > > benefits. > You need the new users to stick, not just to try it. Specially if you > have to do a lot of trouble to increase the numbe

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 17:40:26 CEST schrieb xuser13--- via fpc- pascal: > Freepascal will never become popular in a world where JavaScript is > everywhere, Delphi exists & Pascal has a reputation of not cool > programming language. I strongly believe that many users will have fun with Fre

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 18:27:19 CEST schrieb Martin Frb via fpc- pascal: > >> Yeah, editor toolbar => you get that name, if you click the "configure" > >> option. The toolbar can be on top or bottom. > > > > However, this has to be done from scratch every time you install Lazarus > > inste

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 15:54:20 CEST schrieb Martin Frb via fpc- pascal: > Define "Compiler". > > You use one and the same fpc.exe. > > But you need a different ppc.exe. All those ppc live in the same > folder. And they are all called by the same fpc.exe, depending on the > options gi

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 14:03:39 CEST schrieb Marco van de Voort via fpc-pascal: > Making sure the few initial > converts stick is as important as getting more initial impressions. I can't see any contradiction here. If we do things better, everyone benefits.

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

2024-10-18 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 18. Oktober 2024, 14:02:15 CEST schrieb Thomas Young via fpc- pascal: > One way to attract new users is create great software applications with FPC > for the world to see. https://klimaregelung.de/pages/deutsch/software.php ___ fpc-pascal m

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

2024-10-19 Thread Rainer Stratmann via fpc-pascal
Am Samstag, 19. Oktober 2024, 14:20:45 CEST schrieb Hairy Pixels via fpc- pascal: > So right now if you wanted a low level compiled language to learn and you > want some memory safety you’re still going for C++. I feel very safe with freepascal. I don't know what you are talking about. It depends

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

2024-10-19 Thread Rainer Stratmann via fpc-pascal
Am Samstag, 19. Oktober 2024, 14:57:32 CEST schrieb Hairy Pixels via fpc- pascal: > On Oct 19, 2024 at 7:53:14 PM, Rainer Stratmann via fpc-pascal < > > fpc-pascal@lists.freepascal.org> wrote: > > I feel very safe with freepascal. I don't know what you are talking ab

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

2024-10-19 Thread Rainer Stratmann via fpc-pascal
Am Samstag, 19. Oktober 2024, 15:34:48 CEST schrieb Hairy Pixels via fpc- pascal: > On Oct 19, 2024 at 8:06:56 PM, Rainer Stratmann via fpc-pascal < > > fpc-pascal@lists.freepascal.org> wrote: > > Sorry, but if you start then you start with a simple program and then you

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Donnerstag, 17. Oktober 2024, 00:08:27 CEST schrieb Sven Barth via fpc- pascal: > News flash: this is how well behaved Linux applications are supposed to > behave no matter if they are a "Linux system program" or not. Haha, I did not know this. Very good that you tell me... As far as I know fp

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

2024-10-16 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 23:12:08 CEST schrieb Michael Van Canneyt via fpc-pascal: > Actually, my employer has already offered twice to sponsor a web-designer to > overhaul the website. Money was not an issue. The idea was to announce a > contest and to select a winning design. The designer

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

2024-10-17 Thread Rainer Stratmann via fpc-pascal
Am Donnerstag, 17. Oktober 2024, 03:24:07 CEST schrieb Ralf Quint via fpc- pascal: > Sorry, but do you really suggest that Lazarus should intentionally > adjust itself to the shortcomings of other IDEs? Being able to move > windows around over multiple (2 or 3) monitors is the most effective way >

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

2024-10-18 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 18. Oktober 2024, 06:37:59 CEST schrieb Nikolay Nikolov via fpc- pascal: > > Lazarus is for Delphi nostalgic guys, like me. I'm sure 90% of Lazarus > > users have worked professionally with Delphi before. > > Not me. I really think Free Pascal is an improvement over many "modern" > lan

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

2024-10-15 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 02:54:12 CEST schrieb DougC via fpc-pascal: > So, faced with this situation, what can be done? Short of a massive and > expensive marketing effort, not much... Please notice that Telegram does not spend any money in marketing! Pavel Durov, the founder of Telegram say

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

2024-10-15 Thread Rainer Stratmann via fpc-pascal
Am Mittwoch, 16. Oktober 2024, 04:00:30 CEST schrieb DougC via fpc-pascal: > I don't think the situations are vary similar, so I don't think the > comparison is useful. I mainly wanted to say that it is possible to do so without extensive marketing. Linux is another example. Linux does not spend

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

2024-10-15 Thread Rainer Stratmann via fpc-pascal
At the Lazarus Congress in Cologne in October 2024, it ended up being very interesting. An important question came up. Why are no new users coming to Lazarus/Freepascal? Why do we find it so difficult? How can we get new, younger users to come to us? The same questions came up over a year ago at