Sign in Join

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

Mailing lists / fpc-pascal / 2020-09

Why can I not build fpc 3.0.4 with ppcarm 3.0.0 or 3.0.4?

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

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

Bo Berglund

I have a script I use all the time to install FPC/Lazarus on Raspberry Pi units when I configure for development.

Today when I was setting up a Raspberry PiZero I was hit with this message when I was going to build fpc 3.0.4 (sources checked out from svn):

Makefile:2790: *** The only supported starting compiler version is 3.0.2. You are trying to build with .. Stop.

The script downloads ppcarm from my website where I have stuffed 3.0.0 in a tar archive to use for this purpose. Has worked on more than 10 RPi units so far. I never before saw a requirement for ppcarm 3.0.2...

Anyway I know that fpc can build itself so I made an archive for ppcarm 3.0.4 and uploaded that to the website and modified the script. But no go, same message...

Any ideas?

Bo Berglund Developer in Sweden

Reply by email

Bo Berglund
to Bo Berglund
Bo Berglund wrote 7 lines
Today when I was setting up a Raspberry PiZero I was hit with this message when I was going to build fpc 3.0.4 (sources checked out from svn): Makefile:2790: *** The only supported starting compiler version is 3.0.2. You are trying to build with .. Stop.

It turns out that this was a grossly misleading error message! The real problem was that the RPiZero is arm v6 and the seed compiler downloaded was arm v7!

After changing to ppcarm 3.0.0 for arm6 the build works.

Bo Berglund Developer in Sweden

Reply by email