View previous topic :: View next topic |
Author |
Message |
crocket Guru

Joined: 29 Apr 2017 Posts: 558
|
Posted: Mon Jun 24, 2019 11:29 pm Post subject: How can I compile arm 32bit executables for gentoo arm64? |
|
|
media-libs/raspberrypi-userland cannot be compiled on arm64 becuase it supports only arm 32bit.
How can I compile it as arm 32bit executables and run it on arm64? |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55043 Location: 56N 3W
|
Posted: Tue Jun 25, 2019 12:20 am Post subject: |
|
|
crocket,
Tell us the problem you want to solve.
Whatever it is, 32 bit media-libs/raspberrypi-userland on a 64 bit PI is not the solution. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
crocket Guru

Joined: 29 Apr 2017 Posts: 558
|
Posted: Tue Jun 25, 2019 8:03 am Post subject: |
|
|
NeddySeagoon wrote: | crocket,
Tell us the problem you want to solve.
Whatever it is, 32 bit media-libs/raspberrypi-userland on a 64 bit PI is not the solution. |
I want to measure GPU/CPU temperature on raspberry pi. raspberrypi-userland contains something like vcgenmd which is used to measure temperature. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55043 Location: 56N 3W
|
Posted: Tue Jun 25, 2019 8:45 am Post subject: |
|
|
crocket,
See this nixcraft page
/opt/vc/bin/vcgencmd measure_temp is a script and should work in 64 bit mode but as you say, it mostly won't build on 64 bit.
That is listed first in the link but keep reading.
You need kernel support. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
crocket Guru

Joined: 29 Apr 2017 Posts: 558
|
Posted: Wed Jun 26, 2019 12:05 am Post subject: |
|
|
NeddySeagoon wrote: | crocket,
See this nixcraft page
/opt/vc/bin/vcgencmd measure_temp is a script and should work in 64 bit mode but as you say, it mostly won't build on 64 bit.
That is listed first in the link but keep reading.
You need kernel support. |
Is it impossible to build aarch32 binaries on aarch64? |
|
Back to top |
|
 |
|