Recent

Author Topic: Compiler intrinsic functions  (Read 1304 times)

PascalDragon

  • Hero Member
  • *****
  • Posts: 4562
  • Compiler Developer
Re: Compiler intrinsic functions
« Reply #15 on: July 18, 2022, 02:01:10 pm »
I'm an engineer and have worked in IT for several decades. I know the real world and what I have written is normal, not utopian.

Unlike you we aren't getting paid for this however. We work on FPC in our free time.

Returning to the documentation, it disturbs me that it is spread in too many different places: language reference guide (which should be the only official source), forum, wikis written by users (sometimes inaccurate, duplicated and obsolete), new features wiki, developer mailing list, user mailing list, etc.

The Language Reference Guide already is the only official source and we often repeat this. However documentation for new features is usually only done once a new release approaches until then the New Features Trunk page or the announcement mails for the corresponding feature are the official documentation.

simone

  • Sr. Member
  • ****
  • Posts: 473
Re: Compiler intrinsic functions
« Reply #16 on: July 18, 2022, 07:02:20 pm »
I contribute to various opensource projects without being paid.
Microsoft Windows 10 64 bit - Lazarus 2.2.0

BobDog

  • Sr. Member
  • ****
  • Posts: 327
Re: Compiler intrinsic functions
« Reply #17 on: July 18, 2022, 08:10:03 pm »

I don't have this
rtl/inc/system.fpd  (given by marcov)
in my 3.2.2 distro.

In fact I don't have a rtl folder
only:
bin
doc
fpmkinst
units
and no rtl anywhere in these?




dsiders

  • Hero Member
  • *****
  • Posts: 683
Re: Compiler intrinsic functions
« Reply #18 on: July 18, 2022, 09:08:59 pm »

I don't have this
rtl/inc/system.fpd  (given by marcov)
in my 3.2.2 distro.

In fact I don't have a rtl folder
only:
bin
doc
fpmkinst
units
and no rtl anywhere in these?

That's the path to FPC binaries. You need to look in the path for FPC source. fpcupdeluxe tends to put those in  directory called fpcsrc. An installer puts them in source - same as the name used on Git.
Preview Lazarus 2.3.0 documentation at: https://dsiders.gitlab.io/lazdocsnext

simone

  • Sr. Member
  • ****
  • Posts: 473
Re: Compiler intrinsic functions
« Reply #19 on: July 18, 2022, 09:15:14 pm »
For example, in my pc with Windows, the full path is:

C:\lazarus\fpc\3.2.2\source\rtl\inc\system.fpd
Microsoft Windows 10 64 bit - Lazarus 2.2.0

BobDog

  • Sr. Member
  • ****
  • Posts: 327
Re: Compiler intrinsic functions
« Reply #20 on: July 18, 2022, 09:48:41 pm »

Thanks.
I only have the free pascal compiler, not the lazarus ide and source code.



Thaddy

  • Hero Member
  • *****
  • Posts: 11928
Re: Compiler intrinsic functions
« Reply #21 on: July 23, 2022, 11:24:01 am »
Then you can never easily know version and features. Having the sourcecode is essential, on top of the official documentation for your version and NOT the wiki which is often not correct for newer versions.
Black themes should be banned.

 

TinyPortal © 2005-2018