Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[gentoo-dev] New Global USE: crossdev

 
   Soft32 Home -> Linux -> Development RSS
Next:  [gentoo-dev] linux-headers-2.6* now linux26-heade..  
Author Message
Kumba

External


Since: Nov 23, 2003
Posts: 56



(Msg. 1) Posted: Fri Jul 09, 2004 10:40 pm
Post subject: [gentoo-dev] New Global USE: crossdev
Archived from groups: linux>gentoo>dev (more info?)

Like to get people's opinions on a new global USE flag for crossdev.
This would be needed because there are some patches that need to be
applied to gcc/glibc that are needed only for a cross-compiler to be
built, and I don't want said patch interfereing with normal, day-to-day
useage.

Some examples include the patch found here:
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg01647.html

That patch needs to be replicated for several archs to build a bootstrap
gcc-3.4 compiler properly (tested to be needed on ppc, sh4). Probably
not the best workaround, and as one of the followups to that URL above
indicates, there is a more desirable alternative.

Also, some patches need to be applied to glibc for some archs to build,
notably sh4 (for anyone looking at the possibility of Gentoo/Dreamcast).

Said USE Flag would mostly be applicable to gcc, glibc, and binutils.
Possibly kernel-headers too, if needed.

Any objections?


--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.TakeThisOut@gentoo.org mailing list
Back to top
Login to vote
Jeremy Huddleston

External


Since: Feb 24, 2004
Posts: 9



(Msg. 2) Posted: Sat Jul 10, 2004 7:40 pm
Post subject: [gentoo-dev] crossdev, distcc, and multiple toolchains... (was New global USE: crossdev) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I'm all for the crossdev USE flag... I think there's a lot we can do
with it for moving away from crossdev towards a crosscompilation
toolchain straight out of portage...

First of all, I think we should have a binutils-config package similar
to gcc-config so we can switch between different toolchains... then we
can put the gcc-config and binutils-config options into
/etc/{init,conf}.d/distcc

Additionally, it would be nice if the gcc (and in the future, binutils)
profiles had the complete gentoo version string for the profile name:
x86_64-pc-linux-gnu-3.4.0-r6 instead of x86_64-pc-linux-gnu-3.4.0.

Can SLOT be dynamically set yet based on use flags? IIRC, something
like the following isn't allowed because we're not supposed to have code
in the global section of an ebuild:

if use crossdev; then
SLOT="${PV}-${CTARGET}"
else
SLOT="${PV}"
fi

solar caught me commenting about crossdev stuff in #-dev earlier today,
and it looks like I volunteered to help at putting all this together...

Does anyone have any suggestions about this?

Lisa Seelye wrote:

> On Fri, 2004-07-09 at 21:36, Kumba wrote:
>
>>Said USE Flag would mostly be applicable to gcc, glibc, and binutils.
>>Possibly kernel-headers too, if needed.
>>
>>Any objections?
>
>
> Sounds like a good idea. I can see this being used in conjunction with
> distcc for crosscompiling somewhere down the line.
>


--
gentoo-dev.DeleteThis@gentoo.org mailing list
Back to top
Login to vote
Kumba

External


Since: Nov 23, 2003
Posts: 56



(Msg. 3) Posted: Sun Jul 11, 2004 12:40 am
Post subject: Re: [gentoo-dev] crossdev, distcc, and multiple toolchains... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Lars Weiler wrote:

> * Jeremy Huddleston <eradicator RemoveThis @gentoo.org> [04/07/10 15:33 -0700]:
>
>>Does anyone have any suggestions about this?
>
>
> Be aware that if you want to provide distcc for more than
> one architecture, you can't handle it with one daemon. You
> have to configure it so, that every architecture's distccd
> listens on another port, as it has to point to the correct
> toolchain-directory. But that could be handled very easily
> by editing the conf.d-file and provide the path to the
> architectures' toolchain and another port.

Already done (somewhat). tuxus setup a miniscript that works
wonderfully for such things.

http://dev.gentoo.org/~tuxus/build-mips-with-distcc-cross.txt
http://dev.gentoo.org/~tuxus/mips-distcc.sh


--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 RemoveThis @gentoo.org mailing list
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[gentoo-dev] crossdev development - where is kumba (Joshua.. - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've noticed multiple problems with crossdev, and I see there are about....

[gentoo-dev] two new global USE - any reason we dont have openal and xine has global USE ? both are semi-common multimedia libraries ... openal:..

[gentoo-dev] New Global Useflag: wlan - Hi, There has already been some discussion about a new wireless use flag (especially for kdenetwork). Some peopled..

[gentoo-dev] New global use flag "multilib" - Hi @ll Mea culpa ! I added "multilib" as a useflag to the portage ebuild without recognizing that it was ye...

[gentoo-dev] new global use flag and a new category - The kde herd wants to give everyone the possibility to configure with --enable-final via the "final" use fla...

[gentoo-dev] move USE=lua to global - anyone care if i move the lua USE flag to global scope ? noticed it was still local when bumping swig ... ..
       Soft32 Home -> Linux -> Development All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]