Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I compile arm 32bit executables for gentoo arm64?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Mon Jun 24, 2019 11:29 pm    Post subject: How can I compile arm 32bit executables for gentoo arm64? Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55043
Location: 56N 3W

PostPosted: Tue Jun 25, 2019 12:20 am    Post subject: Reply with quote

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
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Tue Jun 25, 2019 8:03 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55043
Location: 56N 3W

PostPosted: Tue Jun 25, 2019 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 558

PostPosted: Wed Jun 26, 2019 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum