View previous topic :: View next topic |
Author |
Message |
gentoome Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lechuck.gif)
Joined: 18 Jul 2005 Posts: 78
|
Posted: Fri Oct 26, 2007 10:22 am Post subject: Distcc:cross-compiling necessary between nocona and pentium? |
|
|
I have a quick distcc question, I am getting a bit confused as to what is considered cross-compiling. On one machine I have a Core 2 Duo, so that make.conf is configured with --march=nocona. I want that computer to help an old PII-450 emerge its system, which is --march=pentium2. Do I need to follow instructions as if those computers were as different as x86 and ppc, or is the fact that they are both x86 sufficient to ensure compatibility regardless of --march ? Both computers are using gcc-4
Thanks in advance,
John |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9895 Location: almost Mile High in the USA
|
Posted: Mon Oct 29, 2007 7:42 pm Post subject: |
|
|
for the most part it seems gcc that's compiled with nocona support will also build other x86 binaries just fine, as long as you supply the right -marchitecture when building (and for the most part, em64t procs can run i686 binaries just fine without modification).
I did notice that the standard 32-bit gcc build does not, however, build 64-bit binaries (I was trying to get my 32-bit c2d install to distcc-help build for my Prescott em64t-build.)
Technically, cross-compiling is whenever the machine compiling is building binaries for another system of a different architecture. While using your P2 to build em64t is clearly crosscompiling, the other way around is gray area since the em64t can run p2 binaries
hmm...
http://gentoo-wiki.com/HOWTO_Cross_Compile _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|