Sign in Join

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

Mailing lists / fpc-pascal / 2011-12

"Free Pascal Programmer's Guide" - where is the latest version?

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Bernd
to Michael Van Canneyt

2011/12/10 Michael Van Canneyt :

Check the FTP server, somewhere in the 2.6 directory.

Found it, Thanks.

The reason I was looking for it was I wanted to know whether there has something changed with the optimization switches. But it seems this document still mentions things like -Or which the compiler complains is deprecated and one should use -Ooregvar.

Did only the names for these command line switches change or are there some other noteworthy changes or additions regarding the optimizations?

Bernd

Reply by email

Michael Van Canneyt
to Bernd
Bernd wrote 10 lines
2011/12/10 Michael Van Canneyt : > Check the FTP server, somewhere in the 2.6 directory. Found it, Thanks. The reason I was looking for it was I wanted to know whether there has something changed with the optimization switches. But it seems this document still mentions things like -Or which the compiler complains is deprecated and one should use -Ooregvar.

Where did you find this in the docs ?

I just checked the doc sources. I don't find any mention of -Or ? Because even in the 2.4.4 docs, -Or was not mentioned ?

Maybe some website/ftp site still contains an old version of the docs.

Michael.

Reply by email

Bernd
to Michael Van Canneyt
Where did you find this in the docs ?

On the official ftp server:
ftp://ftp.freepascal.org/pub/fpc/beta/2.6.0-rc1/docs/

I downloadad doc-pdf.zip (file dats inside the zip of all contained pdf files is 2011-10-9-18:01)

The file I am referring to is the prog.pdf (Programmer's guide): Programmer’s Guide for Free Pascal, Version 2.6.0rc1 Document version 2.4
October 2011

On page 121 in chapter 11.3 Optimization switches: "-Or: This setting causes the code generator to check which variables are used most, so it can keep
those in a register."

(there are also a few more mentionings in other parts of the document)

Bernd

Reply by email

Michael Van Canneyt
to Bernd
Bernd wrote 19 lines
> Where did you find this in the docs ? On the official ftp server: ftp://ftp.freepascal.org/pub/fpc/beta/2.6.0-rc1/docs/ I downloadad doc-pdf.zip (file dats inside the zip of all contained pdf files is 2011-10-9-18:01) The file I am referring to is the prog.pdf (Programmer's guide): Programmer’s Guide for Free Pascal, Version 2.6.0rc1 Document version 2.4 October 2011 On page 121 in chapter 11.3 Optimization switches: "-Or: This setting causes the code generator to check which variables are used most, so it can keep those in a register." (there are also a few more mentionings in other parts of the document)

Aaaaahhh...

I was looking in the user's guide, in the explanation of the compiler switches. There everything was OK. I didn't look in the programmer's guide.

I will adapt the programmer's guide.

Thank you for the clarification !

Michael.

Reply by email