Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2021-02

Questions from Semi-Beginner

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

CSlemaker

Title: OS Upgrade Windows 7 to Windows 10 – Free Pascal Consequences ?

I am currently running under Windows 7 but I MUST upgrade to Windows 10 Pro. My questions relate to the version of the Pascal compiler I've been using for years and compatibility of the numerous object-code files produced by that compiler.

The version of Free Pascal which I am currently using is:

Free Pascal IDE for Win32 for i386
Target CPU: i386
Version 1.0.12 2013/02/12 **Note 2013
(Compiler Version 2.6.2)
(Debugger GDB 7.2)

Current computer is:
Dell Precision T1700
Processor: Intel Xeon CPU E3-1225 v3 3.2 GHz, 32/64 bit RAM: 8 GB

Will I need to recompile my Pascal source files for object compatibility with Win 10? Should I install the latest version of Free Pascal, and if so, which version is that? Will I have any compatibility problems with my source codes and an up-to-date compiler?

Any other suggestions or precautions?

Thank you very, very much.

Carroll Slemaker

P.S. - "Lazarus" is a term I'm not familiar with. Is it a completely new IDE for Free Pascal? Is there a document which describes differences with the old IDE? Is the old IDE still available in case I have trouble with Lazarus?

Thanks again.

Reply by email

Christo Crause
to CSlemaker

On Sat, Feb 20, 2021 at 10:48 AM CSlemaker via fpc-pascal <

Show quoted text 14 lines
wrote: Title: OS Upgrade Windows 7 to Windows 10 – Free Pascal Consequences ? I am currently running under Windows 7 but I MUST upgrade to Windows 10 Pro. <snip> Will I need to recompile my Pascal source files for object compatibility with Win 10? Should I install the latest version of Free Pascal, and if so, which version is that? Will I have any compatibility problems with my source codes and an up-to-date compiler?

The change in Windows version should in principle (yes, famous last words) not impact on your legacy code. There may be edge cases where permission levels may change and prevent code from running. That said I don't program much on Windows.

Perhaps a bigger factor will be the changes in compiler behaviour. The compiler team is serious about maintaining backwards compatibility, but there are some breaking changes (not much really), see the following links: https://wiki.freepascal.org/User_Changes_3.0
https://wiki.freepascal.org/User_Changes_3.2.0

Show quoted text 7 lines
<snip> P.S. - "Lazarus" is a term I'm not familiar with. Is it a completely new IDE for Free Pascal? Is there a document which describes differences with the old IDE? Is the old IDE still available in case I have trouble with Lazarus?

Lazarus is an independent IDE forFPC that has a graphical interface (a Delphi IDE clone, somewhat similar to Visual Studio), perhaps a richer feature set compared to FP and a visual form editor for visual editing of graphical forms ("windows"). You can install and test it in parallel to the old FP IDE, there isn't any interaction. If you don't like Lazarus you can continue working in FP. A couple of screen shots of Lazarus: https://wiki.lazarus.freepascal.org/Screenshots

Reply by email

Sven Barth
to CSlemaker: Title: OS Upgrade Windows 7 to Windows 10 – Free Pascal Consequences ? I am currently…

CSlemaker via fpc-pascal schrieb am Sa.,
20. Feb. 2021, 09:48:

Show quoted text 7 lines
Will I need to recompile my Pascal source files for object compatibility with Win 10? Should I install the latest version of Free Pascal, and if so, which version is that? Will I have any compatibility problems with my source codes and an up-to-date compiler?

You don't need to do anything except for installing your FPC version again.

Of course you're free to upgrade to 3.2.0, but it might involve changes, so that might be something for another day.

P.S. - "Lazarus" is a term I'm not familiar with. Is it a completely new

Show quoted text 5 lines
IDE for Free Pascal? Is there a document which describes differences with the old IDE? Is the old IDE still available in case I have trouble with Lazarus?

Lazarus is nothing new. It's around 20 years old as well and is a very stable and comfortable IDE for Free Pascal. You can use it for both GUI and console development and especially the code utilities and the debugger integration are more advanced than the text mode IDE.

If you want I'd suggest you to simply download Lazarus 2.0.10 and to give it a try. On Windows it comes with FPC 3.2.0 which will *not* interfere with a standalone installation of FPC (e.g. Your 2.6.4).

If you have trouble you can ask here or on the forum ( forum.lazarus.freepascal.org for both FPC and Lazarus) or look at the wiki ( wiki.freepascal.org, also for both projects).

Regards,
Sven

Reply by email

Tomas Hajny
to Sven Barth
Sven Barth wrote
CSlemaker via fpc-pascal schrieb am Sa., 20. Feb. 2021, 09:48:

Hello everybody,

Please, note that the original poster (in Cc: now, so that he doesn't miss the response from Sven below) isn't subscribed to fpc-pascal, make sure to include him in Cc: of your replies.

Tomas

Show quoted text 42 lines
> Will I need to recompile my Pascal source files for object > compatibility > with Win 10? > Should I install the latest version of Free Pascal, and if so, which > version is that? > Will I have any compatibility problems with my source codes and an > up-to-date compiler? You don't need to do anything except for installing your FPC version again. Of course you're free to upgrade to 3.2.0, but it might involve changes, so that might be something for another day. P.S. - "Lazarus" is a term I'm not familiar with. Is it a completely new > IDE for Free > Pascal? Is there a document which describes differences with the > old > IDE? > Is the old IDE still available in case I have trouble with Lazarus? > Lazarus is nothing new. It's around 20 years old as well and is a very stable and comfortable IDE for Free Pascal. You can use it for both GUI and console development and especially the code utilities and the debugger integration are more advanced than the text mode IDE. If you want I'd suggest you to simply download Lazarus 2.0.10 and to give it a try. On Windows it comes with FPC 3.2.0 which will *not* interfere with a standalone installation of FPC (e.g. Your 2.6.4). If you have trouble you can ask here or on the forum ( forum.lazarus.freepascal.org for both FPC and Lazarus) or look at the wiki ( wiki.freepascal.org, also for both projects). Regards, Sven

Reply by email

Tomas Hajny
to Tomas Hajny
Tomas Hajny wrote
On 2021-02-20 13:49, Sven Barth via fpc-pascal wrote: > CSlemaker via fpc-pascal schrieb am > Sa., > 20. Feb. 2021, 09:48:
Show quoted text 5 lines
Hello everybody, Please, note that the original poster (in Cc: now, so that he doesn't miss the response from Sven below) isn't subscribed to fpc-pascal, make sure to include him in Cc: of your replies.

Oops, sorry :-( - it should probably have been "she", the name wasn't visible in the message from Sven and I didn't pay enough attention to look it up. In any case, no offence intended.

Tomas

Show quoted text 45 lines
>> Will I need to recompile my Pascal source files for object >> compatibility >> with Win 10? >> Should I install the latest version of Free Pascal, and if so, which >> version is that? >> Will I have any compatibility problems with my source codes and an >> up-to-date compiler? > > You don't need to do anything except for installing your FPC version > again. > > Of course you're free to upgrade to 3.2.0, but it might involve > changes, so > that might be something for another day. > > P.S. - "Lazarus" is a term I'm not familiar with. Is it a completely > new >> IDE for Free >> Pascal? Is there a document which describes differences with the >> old >> IDE? >> Is the old IDE still available in case I have trouble with >> Lazarus? >> > > Lazarus is nothing new. It's around 20 years old as well and is a very > stable and comfortable IDE for Free Pascal. You can use it for both > GUI and > console development and especially the code utilities and the debugger > integration are more advanced than the text mode IDE. > > If you want I'd suggest you to simply download Lazarus 2.0.10 and to > give > it a try. On Windows it comes with FPC 3.2.0 which will *not* > interfere > with a standalone installation of FPC (e.g. Your 2.6.4). > > If you have trouble you can ask here or on the forum ( > forum.lazarus.freepascal.org for both FPC and Lazarus) or look at the > wiki ( > wiki.freepascal.org, also for both projects). > > Regards, > Sven

Reply by email

Sven Barth
to Tomas Hajny
Tomas Hajny wrote 16 lines
On 2021-02-20 17:15, Tomas Hajny wrote: > On 2021-02-20 13:49, Sven Barth via fpc-pascal wrote: >> CSlemaker via fpc-pascal schrieb >> am Sa., >> 20. Feb. 2021, 09:48: > Hello everybody, > > Please, note that the original poster (in Cc: now, so that he doesn't > miss the response from Sven below) isn't subscribed to fpc-pascal, > make sure to include him in Cc: of your replies. Oops, sorry :-( - it should probably have been "she", the name wasn't visible in the message from Sven and I didn't pay enough attention to look it up. In any case, no offence intended.

That's why I prefer to use "they" if I don't know the gender or the pronouns ;)

Regards,
Sven

Reply by email

Bo Berglund
to Sven Barth: CSlemaker via fpc-pascal schrieb am Sa., 20. Feb. 2021, 09:48: You don't need to do…
Sven Barth wrote
Lazarus is nothing new. It's around 20 years old as well and is a very stable and comfortable IDE for Free Pascal. You can use it for both GUI and console development and especially the code utilities and the debugger integration are more advanced than the text mode IDE.

FYI:

The Lazarus mail list is cached as news on gmane.io since with FPC but from 2003.

I have the fpc message cache locally on my PC since Sep 2003 and Lazarus since July 2005.

Bo Berglund Developer in Sweden

Reply by email