Sign in Join

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

Mailing lists / fpc-pascal / 2021-12

Building fpc 3.2.2 from sources - which compiler to use for install?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Bo Berglund

I am building fpc 3.2.2 from sources on a Linux Mint x64 box. When I compile fpc inside the downloaded source folder I use this:

make all FPC="$HOME/devel/fpc/ppcx64"

The FPC compiler in this case is 3.2.0, which I have built earlier on another box. This works fine.

Now I am at the next step and here I am unsure which FPC to specify:

make install PREFIX="$HOME" FPC="$HOME/devel/fpc/ppcx64"

or

make install PREFIX="$HOME" FPC="$HOME/devel/fpc/3.2.2/compiler/ppcx64"

I.e. should I use the newly compiled 3.2.2 in this step or the seed compiler, which is the previous version?

Bo Berglund Developer in Sweden

Reply by email

Marco van de Voort
to Bo Berglund

Op 6-12-2021 om 12:53 schreef Bo Berglund via fpc-pascal:

Show quoted text 6 lines
I.e. should I use the newly compiled 3.2.2 in this step or the seed compiler, which is the previous version?

New. See buildfaq.

Reply by email

Bo Berglund
to Marco van de Voort
Marco van de Voort wrote 9 lines
Op 6-12-2021 om 12:53 schreef Bo Berglund via fpc-pascal: > > > I.e. should I use the newly compiled 3.2.2 in this step or the seed compiler, > which is the previous version? > > New. See buildfaq.

I used this:

make install PREFIX="$HOME" FPC="$HOME/devel/fpc/3.2.2/compiler/ppcx64" ln -sf "$HOME/lib/fpc/3.2.2/ppcx64" "$HOME/bin/ppcx64" make sourceinstall PREFIX="$HOME" FPC="$HOME/bin/ppcx64"

Seems to have worked fine.
Was able to continue with Lazarus using the $HOME/bin/ppcx64 compiler.

Bo Berglund Developer in Sweden

Reply by email