Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building a cross compiler on Mac OS X
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
Vroem
n00b
n00b


Joined: 19 Aug 2003
Posts: 8

PostPosted: Sun Jan 09, 2005 8:19 pm    Post subject: Building a cross compiler on Mac OS X Reply with quote

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:
    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:
    $ 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:
    $ 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?
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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