Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo for raspberry: el or hf?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
nomorelogic
n00b
n00b


Joined: 08 Apr 2014
Posts: 14

PostPosted: Wed Apr 30, 2014 5:18 pm    Post subject: gentoo for raspberry: el or hf? Reply with quote

hi all
I'm a bit confused on gentoo for raspberry.

I followed this guides:
https://wiki.gentoo.org/wiki/Raspberry_Pi
https://wiki.gentoo.org/wiki/Raspberry_Pi_Quick_Install_Guide

and I've gentoo installed.

Now, if I run 'uname -a' I get:
Code:
# uname -a
Linux pastoo 3.10.37+ #669 PREEMPT Tue Apr 15 14:44:32 BST 2014 armv6l BCM2708 GNU/Linux


in /lib I found:
/lib/ld-linux-armhf.so.3

Here is my confusion:
ld-linux.so has hf suffix but armv6l means armel?

thanks in advantage
nomorelogic
_________________
Imagination is more important than knowledge (A.Einstein)
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Thu May 01, 2014 1:27 pm    Post subject: Reply with quote

It is confusing.

armv6l is the machine hardware name. Binaries can be compiled for this architecture to use software float computations, armel (apparently, endian little), or hardware float computations, armhf (hard float).

Quote:
In Debian Linux and derivatives armhf (ARM hard float) refers to the ARMv7 architecture including the additional VFP3-D16 floating-point hardware extension (and Thumb-2) above.

Software packages and cross-compiler tools use the armhf vs. arm/armel suffixes to differentiate.


http://en.wikipedia.org/wiki/ARM_architecture#32-bit_architecture

If you build a cross compiler for the Pi you would use armv6j to tell gcc the architecture.
Back to top
View user's profile Send private message
nomorelogic
n00b
n00b


Joined: 08 Apr 2014
Posts: 14

PostPosted: Fri May 02, 2014 8:06 am    Post subject: Reply with quote

thank you limn


my need is to compile form armel: what are the benefits of build a cross compiler?


nomorelogic
_________________
Imagination is more important than knowledge (A.Einstein)
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Fri May 02, 2014 1:15 pm    Post subject: Reply with quote

The Pi's "performance is something like a 300MHz Pentium 2."

http://www.raspberrypi.org/help/faqs/#performanceSpeed

Updating Gentoo would be very slow. Compiling gcc, for instance, would take something on the order of a day or more. Also, SD cards are not designed for the intensive file creation and deletion involved.

If you have access to a more powerful computer, you would build a cross compiler on it targeting ARM and free up the Pi for whatever use you have planned for it.
Back to top
View user's profile Send private message
nomorelogic
n00b
n00b


Joined: 08 Apr 2014
Posts: 14

PostPosted: Fri May 02, 2014 2:24 pm    Post subject: Reply with quote

ok
thank you very much limn
_________________
Imagination is more important than knowledge (A.Einstein)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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