1 |
gcc is able to do cross-compilation. |
2 |
Check your make.conf for CHOST, CFLAGS and CXXFLAGS, this should give you an |
3 |
idea how you can do this in gentoo: |
4 |
You will probably want to |
5 |
export CHOST=... export CFLAGS=... etc. |
6 |
appropriate host and optimization flags. |
7 |
Then for an actual package do: |
8 |
emerge --buildpkg package |
9 |
This will build the package and put .tbz2 file under $PKGDIR (check your |
10 |
conf!). But do test these builds on the proper system! |
11 |
This has however a side-effect: |
12 |
In addition to building the package it will merge it! Just unmerge it |
13 |
aftewards (.tbz2 is preserved). Alternatively you may do all steps manually |
14 |
avoiding merge (so the package only gets built and not installed, especially |
15 |
important if you already have such package installed on your sys) - check |
16 |
ebuild manual to see necessary steps. |
17 |
|
18 |
George |
19 |
|
20 |
|
21 |
On Monday 08 April 2002 10:49, Chuck Short wrote: |
22 |
> So if you have an intel box and want to build ebuilds for PPC would you |
23 |
> have to build a cross-compiler? (Im a masochist). |
24 |
> |
25 |
> chuck |
26 |
> |
27 |
> On April 8, 2002 06:40 pm, Spider wrote: |
28 |
> > See this thread: |
29 |
> > |
30 |
> > |
31 |
> > |
32 |
> > begin forwarded message: |
33 |
> > |
34 |
> > Date: Thu, 4 Apr 2002 10:59:36 +0200 |
35 |
> > From: Pieter Van den Abeele <pvdabeel@××××××.be> |
36 |
> > To: gentoo-dev@g.o |
37 |
> > Subject: [gentoo-dev] Gentoo PPC announcement |
38 |
> > |
39 |
> > |
40 |
> > |
41 |
> > Hello, |
42 |
> > |
43 |
> > Experimental/testing Gentoo PPC iso/build tarballs can be downloaded |
44 |
> > from: http://gentooppc.sunsite.dk |
45 |
> > |
46 |
> > PPC portage can be accessed using cvs: |
47 |
> > CVSROOT=:pserver:cvs@×××××××.dk:/pack/anoncvs (password=cvs) |
48 |
> > |
49 |
> > An anonymously rsyncable PPC portage: (setup later today) |
50 |
> > rsync://sunsite.dk/gentooppc/gentooppc/portage/ |
51 |
> > |
52 |
> > regards, |
53 |
> > |
54 |
> > Pieter |
55 |
> > |
56 |
> > |
57 |
> > ------------- |
58 |
> > |
59 |
> > begin quote |
60 |
> > On Sun, 7 Apr 2002 23:14:43 -0500 |
61 |
> > |
62 |
> > <vze3gvpe@×××××××.net> wrote: |
63 |
> > > reply only to: rlmoss@××××××××××.com |
64 |
> > > Date: Mon, 8 Apr 2002 00:14:36 -0400 |
65 |
> > > To: gentoo-dev@g.o |
66 |
> > > From: Richard Moss <vze3gvpe@×××××××.net> |
67 |
> > > Subject: Will there be a port to Power PPC? |
68 |
> > > Content-Type: text/plain; charset="us-ascii" ; format="flowed" |
69 |
> > > |
70 |
> > > I followed links from Slashdot to you. Reallly like the site, |
71 |
> > > especially Larry the Cow & am asking my network administrator to |
72 |
> > > explain "portage" - I've mostly used 'portage' in the context of |
73 |
> > > carrying a canoe up a fall, or down river to avoid a treacherous |
74 |
> > > rapid. |
75 |
> > > |
76 |
> > > |
77 |
> > > Will there be a port to Power PC, so Gentoo Linux could run on iMac, |
78 |
> > > iBook, or G3/G4? |
79 |
> > > |
80 |
> > > Many thanks, |
81 |
> > > |
82 |
> > > _______________________________________________ |
83 |
> > > gentoo-dev mailing list |
84 |
> > > gentoo-dev@g.o |
85 |
> > > http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
86 |
> |
87 |
> _______________________________________________ |
88 |
> gentoo-dev mailing list |
89 |
> gentoo-dev@g.o |
90 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |