Recent

Author Topic: which compiler?  (Read 2848 times)

Ricardo T.

  • New Member
  • *
  • Posts: 13
which compiler?
« on: October 01, 2018, 07:09:07 am »
Hello everyone  :D  My name is Ricardo,a new member and a  newbie in programming .

I am a little confused about which FP compiler is the right one to download for my OS (win 8 and 10 64 bit)?

The  fpc-3.0.4.i386-win32.cross.x86_64-win64.exe  or the win32 32 bit version? For what i could understand,
i need to download the 32 bit first and then download the cross x86-64 as there is no native 64 bit version or something like that... :-\

Any help would be greatly appreciated. :D

Thanks.

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: which compiler?
« Reply #1 on: October 01, 2018, 07:22:40 am »
The  fpc-3.0.4.i386-win32.cross.x86_64-win64.exe  or the win32 32 bit version? For what i could understand,
i need to download the 32 bit first and then download the cross x86-64 as there is no native 64 bit version or something like that... :-\

Welcome to the forum Ricardo!

Yes, you are right, if you want do build x86_64 binaries you need both.

You can have a look in the wiki for further information.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

ccrause

  • Hero Member
  • *****
  • Posts: 856
Re: which compiler?
« Reply #2 on: October 01, 2018, 07:33:54 am »
A thread on compiling a native win64 compiler.

Ricardo T.

  • New Member
  • *
  • Posts: 13
Re: which compiler?
« Reply #3 on: October 01, 2018, 09:15:30 pm »
 Pascal, ccrause... Thanks guys 4 the reply  :D

Last night i installed the 32 bit FPC on my 64 bit OS since i read that is Ok to run 32 apps on a 64 system,
and everything went smooth.

I even wrote my first ever Pascal program...the Hello World code with some extra text lines that i added  ;D ;D ;D. Pascal is an awesome language.

Is ok to keep using the 32 bit compiler on my 64 bit win system right? No harm in doing so right?

Also,the Lazarus IDE comes with the FPC included right? I did not install it since the IDE is a bit to much for
a beginner in my opinion.

For now i'm just using a text editor(NotePad ++) and the cmd to run the code  :D

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: which compiler?
« Reply #4 on: October 01, 2018, 10:53:12 pm »
Welcome to the Pascal community! Since you're an absolutely beginner, maybe the Pascal Tutorial and the Lazarus Tutorial will interest you, as well as the rest of Tutorials in the wiki.

Also,the Lazarus IDE comes with the FPC included right?
[...]
Is ok to keep using the 32 bit compiler on my 64 bit win system right? No harm in doing so right?

Yes, Lazarus distributions always include Free Pascal, both binary and source code. And yes, it's OK to use 32 bit applications (including compilers) on 64 bit systems, although they incur a very slight penalty; and you can always use the 32 bit compiler to cross-compile your apps to 64 bit.

Quote
Pascal is an awesome language.

Yes, yes it is  :D
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Ricardo T.

  • New Member
  • *
  • Posts: 13
Re: which compiler?
« Reply #5 on: October 02, 2018, 02:09:03 am »
lucamar... Thank you Sir for the links...The Object Pascal tutorial is gonna keep me busy for a while.  :D

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: which compiler?
« Reply #6 on: October 02, 2018, 08:27:45 am »
Another nice introduction to Object Pascal:
http://newpascal.org/assets/modern_pascal_introduction.html
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018