Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

new ARM profile and new CHOST

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
potuz
Guru
Guru
Posts: 378
Joined: Sat Jan 30, 2010 2:00 am

new ARM profile and new CHOST

  • Quote

Post by potuz » Sun Nov 25, 2018 6:03 pm

The new 17.0 profile is encouraged for arm. This involves a change in CHOST. In my particular case of a raspberry-pi this would change from

armv7a-hardfloat-linux-gnueabi

to

armv7a-unknown-linux-gnueabihf

I am supposed to use the script in
https://dev.gentoo.org/~chewi/armhf-migrate.bash

And I trust the Gentoo devs have done as always a fantastic job at checking many use cases.

I do have however a couple of questions.

1) I use distcc to crosscompile on this arm machine, will this script rebuild the system on my distcc server or natively on ARM?

2) What should I do on the distcc server? Should I install a new target for crossdev?

At first I was leaning towards not changing the profile, but the problem is that when those things get deprecated it's really hard to update.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Nov 25, 2018 6:16 pm

potuz,

This script runs on the ARM system. It does nothing for the distcc helper(s).

You need to run

Code: Select all

crossdev -t <new_target>
there.

Moved to Gentoo on ARM, as it fits better there.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
potuz
Guru
Guru
Posts: 378
Joined: Sat Jan 30, 2010 2:00 am

  • Quote

Post by potuz » Sun Nov 25, 2018 6:18 pm

NeddySeagoon wrote:potuz,

This script runs on the ARM system. It does nothing for the distcc helper(s).

You need to run

Code: Select all

crossdev -t <new_target>
there.

Moved to Gentoo on ARM, as it fits better there.
Thanks, would it help if I build the toolchain on the helper before running the script? would then the script rebuild some of the components using distcc?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Nov 25, 2018 6:23 pm

potuz,

You can't use distcc with gcc and I've seen in make a mess of glibc too.

In theory, you can cross compile all the bits then install the binaries.
The script does a lot more than that though.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic