Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo for Mac OS X (Portage for Mac OS X)
  • Search

Building a cross compiler on Mac OS X

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
1 post • Page 1 of 1
Author
Message
Vroem
n00b
n00b
Posts: 8
Joined: Tue Aug 19, 2003 9:13 pm

Building a cross compiler on Mac OS X

  • Quote

Post by Vroem » Sun Jan 09, 2005 8:19 pm

I have a couple of fairly new macs and I would like to use them to help compiling gentoo on our 'inferior' i686 machines. So I started follwoing the instructions to build a cross compiler.
I got stuck after doing these steps:
  • adding cross-i686-pc-linux-gnu to /etc/portage/profile/categories
  • setting up PORTDIR_OVERLAY and making links to the directories of the 4 relevant ebuilds (binutils, gcc, linux26-headers, glibc) in /usr/local/portage/cross-i686-pc-linux-gnu/
  • none of these packages have ~ppc-macos keywords
    -> allowed portage to use the ~ppc ebuilds in /etc/portage/package.keywords

    Code: Select all

    cross-i686-pc-linux-gnu/binutils ~ppc
    cross-i686-pc-linux-gnu/gcc ~ppc
    cross-i686-pc-linux-gnu/linux26-headers ~ppc
    cross-i686-pc-linux-gnu/glibc ~ppc
  • binutils compiled without errors:

    Code: Select all

    $ emerge cross-i686-pc-linux-gnu/binutils
  • tried emerging gcc with USE=nocxx but it needed glibc so I skipped this for later
  • Here I got stuck:

    Code: Select all

    $ ARCH=i686 emerge cross-i686-pc-linux-gnu/linux26-headers
    this resulted in:
    Makefile:431: /private/var/tmp/portage/linux26-headers-2.6.8.1-r2/work/linux-2.6.8.1/arch/i686/Makefile: No such file or directory

    So I tried the stable ppc version of linux26-headers but surprise: blocked by sys-libs/libsystem!
Is this even worth trying?
Top
Locked
1 post • Page 1 of 1

Return to “Gentoo for Mac OS X (Portage for Mac OS X)”

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