public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] ppc cross-compiler
@ 2003-10-28 13:58 Philippe Coulonges
  2003-10-28 16:16 ` Kumba
  2003-10-29 17:33 ` Martin Schlemmer
  0 siblings, 2 replies; 6+ messages in thread
From: Philippe Coulonges @ 2003-10-28 13:58 UTC (permalink / raw
  To: gentoo-dev


Something puzzles me.

The gcc ebuild seems ready to handle installation of a cross-compiler,
but the binutils ebuild don't.

Is there a purpose ? 
Is it a work in progress ? 
Did I miss something ?

CU
CPHIL
-- 
Error in operator: add beer

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] ppc cross-compiler
  2003-10-28 13:58 [gentoo-dev] ppc cross-compiler Philippe Coulonges
@ 2003-10-28 16:16 ` Kumba
  2003-10-29  8:30   ` Philippe Coulonges
  2003-10-29 17:33 ` Martin Schlemmer
  1 sibling, 1 reply; 6+ messages in thread
From: Kumba @ 2003-10-28 16:16 UTC (permalink / raw
  To: gentoo-dev

Philippe Coulonges wrote:

> Something puzzles me.
> 
> The gcc ebuild seems ready to handle installation of a cross-compiler,
> but the binutils ebuild don't.
> 
> Is there a purpose ? 
> Is it a work in progress ? 
> Did I miss something ?
> 
> CU
> CPHIL

I'm unsure how tested that ability it.  I made some ebuilds for 
binutils/gcc sparc/mips64 support, and in doing so, inadvertently made 
them capable of building cross-compilers.  I'm also working on a script 
to do cross-compilers that I hope to put into portage maybe within 
another week or so....still beating the bugs out of it.


--Kumba

-- 
"Such is oft the course of deeds that move the wheels of the world: 
small hands do them because they must, while the eyes of the great are 
elsewhere."  --Elrond


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] ppc cross-compiler
  2003-10-28 16:16 ` Kumba
@ 2003-10-29  8:30   ` Philippe Coulonges
  2003-10-29 17:38     ` Martin Schlemmer
  0 siblings, 1 reply; 6+ messages in thread
From: Philippe Coulonges @ 2003-10-29  8:30 UTC (permalink / raw
  To: gentoo-dev

Le Tue, 28 Oct 2003 11:16:47 -0500
Kumba <kumba@gentoo.org> écrivait :

> I'm unsure how tested that ability it.  I made some ebuilds for 
> binutils/gcc sparc/mips64 support, and in doing so, inadvertently made
> them capable of building cross-compilers.  I'm also working on a
> script to do cross-compilers that I hope to put into portage maybe
> within another week or so....still beating the bugs out of it.

Well, my goal is to build a gcc X-compiler for powerpc-unknown-eabi
(embedded device).
I'm not hurry as it will be a replacement for a compilation chain that
works, so I would prefer a clean, gentoo's way solution.

I started modifying the binutils ebuild in the same way as gcc, i.e.
using env variable for the definition of the target and using SLOT. I
still have a headache on the install part to figure out where everything
should be.

Since you seem more advanced, I will wait for your work. I'm willing to
help however so you can pass me some scripts or ebuilds for testing if
you wish.

CU
CPHIL
-- 
	10 REM "Oh my God what's this ?"
        20 REM "I thought this had long disappeared !"
        30 PRINT "I am back to";
        40 PRINT "save the world."
        50 INPUT "From whom, do you reckon? ",M$
        60 IF M$="Bill" THEN PRINT "Thou art wise.":GOTO PARADISE
        70 ELSE PRINT "You ain't got a clue...":GOTO RICHMOND
	-- HOWTO LinuxDocs+Emacs+ispell

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] ppc cross-compiler
  2003-10-28 13:58 [gentoo-dev] ppc cross-compiler Philippe Coulonges
  2003-10-28 16:16 ` Kumba
@ 2003-10-29 17:33 ` Martin Schlemmer
  2003-10-29 17:53   ` Mamoru KOMACHI
  1 sibling, 1 reply; 6+ messages in thread
From: Martin Schlemmer @ 2003-10-29 17:33 UTC (permalink / raw
  To: Philippe Coulonges; +Cc: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

On Tue, 2003-10-28 at 15:58, Philippe Coulonges wrote:
> Something puzzles me.
> 
> The gcc ebuild seems ready to handle installation of a cross-compiler,
> but the binutils ebuild don't.
> 
> Is there a purpose ? 
> Is it a work in progress ? 
> Did I miss something ?
> 

Yes, we are waiting for multi-SLOT per version support
portage side.  Else I guess you could cp the binutils
ebuild to binutils-cross or something, and mod it a
bit, or use one of the few in bugzilla ...

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] ppc cross-compiler
  2003-10-29  8:30   ` Philippe Coulonges
@ 2003-10-29 17:38     ` Martin Schlemmer
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Schlemmer @ 2003-10-29 17:38 UTC (permalink / raw
  To: Philippe Coulonges; +Cc: Gentoo-Dev

[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]

On Wed, 2003-10-29 at 10:30, Philippe Coulonges wrote:
> Le Tue, 28 Oct 2003 11:16:47 -0500
> Kumba <kumba@gentoo.org> écrivait :
> 
> > I'm unsure how tested that ability it.  I made some ebuilds for 
> > binutils/gcc sparc/mips64 support, and in doing so, inadvertently made
> > them capable of building cross-compilers.  I'm also working on a
> > script to do cross-compilers that I hope to put into portage maybe
> > within another week or so....still beating the bugs out of it.
> 
> Well, my goal is to build a gcc X-compiler for powerpc-unknown-eabi
> (embedded device).
> I'm not hurry as it will be a replacement for a compilation chain that
> works, so I would prefer a clean, gentoo's way solution.
> 
> I started modifying the binutils ebuild in the same way as gcc, i.e.
> using env variable for the definition of the target and using SLOT. I
> still have a headache on the install part to figure out where everything
> should be.
> 
> Since you seem more advanced, I will wait for your work. I'm willing to
> help however so you can pass me some scripts or ebuilds for testing if
> you wish.
> 

How things are planned to work (or was rather), you will only need one
ebuild, and the SLOT="${PV}-${CCHOST}" will ensure that you have
multiple SLOT's.  This support is however still not in portage, so
its a pita currently :/


Thanks,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-dev] ppc cross-compiler
  2003-10-29 17:33 ` Martin Schlemmer
@ 2003-10-29 17:53   ` Mamoru KOMACHI
  0 siblings, 0 replies; 6+ messages in thread
From: Mamoru KOMACHI @ 2003-10-29 17:53 UTC (permalink / raw
  To: gentoo-dev

Hi,

At Wed, 29 Oct 2003 19:38:15 +0200,
Martin Schlemmer wrote:

> How things are planned to work (or was rather), you will only need one
> ebuild, and the SLOT="${PV}-${CCHOST}" will ensure that you have
> multiple SLOT's.  This support is however still not in portage, so
> its a pita currently :/

Last month when I tried to emerge cross-binutils and cross-gcc and I
thought cross compilation support was already there ;/ I emerged
binutils for ppc first and for mipsel next, but SLOT'd binutils for
ppc was not protected when I installed binutils for mipsel (and thus
removed). 

At Wed, 29 Oct 2003 19:33:49 +0200,
Martin Schlemmer wrote:

> Yes, we are waiting for multi-SLOT per version support
> portage side.

I'm waiting for that too ;)

-- 
Mamoru KOMACHI <usata@gentoo.org>
http://www.gentoo.org/~usata/

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-29 17:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-28 13:58 [gentoo-dev] ppc cross-compiler Philippe Coulonges
2003-10-28 16:16 ` Kumba
2003-10-29  8:30   ` Philippe Coulonges
2003-10-29 17:38     ` Martin Schlemmer
2003-10-29 17:33 ` Martin Schlemmer
2003-10-29 17:53   ` Mamoru KOMACHI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox