* does someone succeed in making the toolchain for 2.6 kernel?
@ 2005-12-21 8:51 zhuzhenhua
2005-12-21 8:55 ` Jan-Benedict Glaw
2005-12-21 8:57 ` Pete Popov
0 siblings, 2 replies; 24+ messages in thread
From: zhuzhenhua @ 2005-12-21 8:51 UTC (permalink / raw)
To: linux-mips
i want to compile a 2.6.14 kernel for mips 4kec, does someone compile
the 2.6 kernel with self-build toolchain? how to select the gcc,
gdb,glibc,linux head and binutils version?
and where to get the guide doc?
Best regards!
zhuzhenhua
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 8:51 does someone succeed in making the toolchain for 2.6 kernel? zhuzhenhua
@ 2005-12-21 8:55 ` Jan-Benedict Glaw
2005-12-21 9:04 ` zhuzhenhua
2005-12-21 8:57 ` Pete Popov
1 sibling, 1 reply; 24+ messages in thread
From: Jan-Benedict Glaw @ 2005-12-21 8:55 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 949 bytes --]
On Wed, 2005-12-21 16:51:35 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> i want to compile a 2.6.14 kernel for mips 4kec, does someone compile
> the 2.6 kernel with self-build toolchain? how to select the gcc,
> gdb,glibc,linux head and binutils version?
> and where to get the guide doc?
After you've built your toolchain, it's either an additional native
one (gcc-4.1), or you've build some kind of cross-toolchain that got a
prefix (mips-linux-gcc).
In the former case, you'd be able to "make CC=gcc-4.1" a kernel, in
the later case you call make like "make CROSS_COMPILE=vax-linux-".
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 8:55 ` Jan-Benedict Glaw
@ 2005-12-21 9:04 ` zhuzhenhua
2005-12-21 9:18 ` Jan-Benedict Glaw
0 siblings, 1 reply; 24+ messages in thread
From: zhuzhenhua @ 2005-12-21 9:04 UTC (permalink / raw)
To: linux-mips
sorry to not describle clearly
i want to know how to build the cross-compile toolchain
On 12/21/05, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> On Wed, 2005-12-21 16:51:35 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> > i want to compile a 2.6.14 kernel for mips 4kec, does someone compile
> > the 2.6 kernel with self-build toolchain? how to select the gcc,
> > gdb,glibc,linux head and binutils version?
> > and where to get the guide doc?
>
> After you've built your toolchain, it's either an additional native
> one (gcc-4.1), or you've build some kind of cross-toolchain that got a
> prefix (mips-linux-gcc).
>
> In the former case, you'd be able to "make CC=gcc-4.1" a kernel, in
> the later case you call make like "make CROSS_COMPILE=vax-linux-".
>
> MfG, JBG
>
> --
> Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
> "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
> für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
> ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDqRiLHb1edYOZ4bsRArKbAKCH4JLwRjHur6/JQ8oufY7+N/4/QwCeJ5hI
> wDSqqScrhupXQYHxdhzGtiA=
> =yOYf
> -----END PGP SIGNATURE-----
>
>
>
Best regards
zhuzhenhua
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 9:04 ` zhuzhenhua
@ 2005-12-21 9:18 ` Jan-Benedict Glaw
2005-12-21 10:02 ` Matej Kupljen
2005-12-21 10:27 ` P. Christeas
0 siblings, 2 replies; 24+ messages in thread
From: Jan-Benedict Glaw @ 2005-12-21 9:18 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
On Wed, 2005-12-21 17:04:25 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> sorry to not describle clearly
> i want to know how to build the cross-compile toolchain
Building a working toolchain for kernel-only work isn't _that_ hard
(though, if you've never done that, you may find yourself asking
Google for a month or two...)
As a good starting point, go to http://www.kegel.com/crosstool/ .
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 9:18 ` Jan-Benedict Glaw
@ 2005-12-21 10:02 ` Matej Kupljen
2005-12-21 10:06 ` Jan-Benedict Glaw
2005-12-21 10:27 ` P. Christeas
1 sibling, 1 reply; 24+ messages in thread
From: Matej Kupljen @ 2005-12-21 10:02 UTC (permalink / raw)
To: Jan-Benedict Glaw; +Cc: linux-mips
Hi
> As a good starting point, go to http://www.kegel.com/crosstool/ .
Yes, we use crosstool, but the results matrix isn't rely
encouraging:
http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
BR,
Matej
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 10:02 ` Matej Kupljen
@ 2005-12-21 10:06 ` Jan-Benedict Glaw
2005-12-21 10:32 ` Matej Kupljen
0 siblings, 1 reply; 24+ messages in thread
From: Jan-Benedict Glaw @ 2005-12-21 10:06 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 760 bytes --]
On Wed, 2005-12-21 11:02:34 +0100, Matej Kupljen <matej.kupljen@ultra.si> wrote:
> > As a good starting point, go to http://www.kegel.com/crosstool/ .
>
> Yes, we use crosstool, but the results matrix isn't rely
> encouraging:
> http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
Well, try do do it any better *yourself*. Compiling a complete
toolchain (incl. userland support) really isn't easy...
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 10:06 ` Jan-Benedict Glaw
@ 2005-12-21 10:32 ` Matej Kupljen
2005-12-21 10:37 ` zhuzhenhua
2005-12-22 2:43 ` zhuzhenhua
0 siblings, 2 replies; 24+ messages in thread
From: Matej Kupljen @ 2005-12-21 10:32 UTC (permalink / raw)
To: Jan-Benedict Glaw; +Cc: linux-mips
Hi
> > Yes, we use crosstool, but the results matrix isn't rely
> > encouraging:
> > http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
>
> Well, try do do it any better *yourself*. Compiling a complete
> toolchain (incl. userland support) really isn't easy...
You probably misunderstood me :(
I was trying to say, that we use crosstool *successfully* to build
kernel 2.6.15-rc5 (and a bunch of user land binaries) and that
this matrix should be updated.
If someone looks at this matrix, he thinks that for mips(el) crosstool
does not work.
BR,
Matej
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 10:32 ` Matej Kupljen
@ 2005-12-21 10:37 ` zhuzhenhua
2005-12-22 2:43 ` zhuzhenhua
1 sibling, 0 replies; 24+ messages in thread
From: zhuzhenhua @ 2005-12-21 10:37 UTC (permalink / raw)
To: Matej Kupljen; +Cc: Jan-Benedict Glaw, linux-mips
On 12/21/05, Matej Kupljen <matej.kupljen@ultra.si> wrote:
> Hi
>
> > > Yes, we use crosstool, but the results matrix isn't rely
> > > encouraging:
> > > http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
> >
> > Well, try do do it any better *yourself*. Compiling a complete
> > toolchain (incl. userland support) really isn't easy...
>
> You probably misunderstood me :(
>
> I was trying to say, that we use crosstool *successfully* to build
> kernel 2.6.15-rc5 (and a bunch of user land binaries) and that
> this matrix should be updated.
>
> If someone looks at this matrix, he thinks that for mips(el) crosstool
> does not work.
>
you are right, as i see the matrix, i just think it can't work for mips
with your reply, i want to try this
thanks!
> BR,
> Matej
>
>
>
Best regards!
zhuzhenhua
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 10:32 ` Matej Kupljen
2005-12-21 10:37 ` zhuzhenhua
@ 2005-12-22 2:43 ` zhuzhenhua
2005-12-22 8:57 ` Jan-Benedict Glaw
` (2 more replies)
1 sibling, 3 replies; 24+ messages in thread
From: zhuzhenhua @ 2005-12-22 2:43 UTC (permalink / raw)
To: Matej Kupljen; +Cc: Jan-Benedict Glaw, linux-mips
On 12/21/05, Matej Kupljen <matej.kupljen@ultra.si> wrote:
> Hi
>
> > > Yes, we use crosstool, but the results matrix isn't rely
> > > encouraging:
> > > http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
> >
> > Well, try do do it any better *yourself*. Compiling a complete
> > toolchain (incl. userland support) really isn't easy...
>
> You probably misunderstood me :(
>
> I was trying to say, that we use crosstool *successfully* to build
> kernel 2.6.15-rc5 (and a bunch of user land binaries) and that
> this matrix should be updated.
>
> If someone looks at this matrix, he thinks that for mips(el) crosstool
> does not work.
>
> BR,
> Matej
>
>
>
i have use the crosstool to try,but i get a
"#error "glibc cannot be compiled without optimization"
what CFLAGS and CXXFLAGS should to set in demo-mipsel.sh
BR,
zhuzhenhua
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-22 2:43 ` zhuzhenhua
@ 2005-12-22 8:57 ` Jan-Benedict Glaw
2005-12-22 9:05 ` zhuzhenhua
2005-12-22 9:23 ` Matej Kupljen
2005-12-22 13:29 ` Stephen P. Becker
2 siblings, 1 reply; 24+ messages in thread
From: Jan-Benedict Glaw @ 2005-12-22 8:57 UTC (permalink / raw)
To: zhuzhenhua; +Cc: Matej Kupljen, linux-mips
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
On Thu, 2005-12-22 10:43:31 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> On 12/21/05, Matej Kupljen <matej.kupljen@ultra.si> wrote:
> > > > Yes, we use crosstool, but the results matrix isn't rely
> > > > encouraging:
> > > > http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
>
> i have use the crosstool to try,but i get a
> "#error "glibc cannot be compiled without optimization"
> what CFLAGS and CXXFLAGS should to set in demo-mipsel.sh
At least -O I guess, or -O2.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-22 8:57 ` Jan-Benedict Glaw
@ 2005-12-22 9:05 ` zhuzhenhua
0 siblings, 0 replies; 24+ messages in thread
From: zhuzhenhua @ 2005-12-22 9:05 UTC (permalink / raw)
To: zhuzhenhua, Matej Kupljen, linux-mips
On 12/22/05, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> On Thu, 2005-12-22 10:43:31 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> > On 12/21/05, Matej Kupljen <matej.kupljen@ultra.si> wrote:
> > > > > Yes, we use crosstool, but the results matrix isn't rely
> > > > > encouraging:
> > > > > http://www.kegel.com/crosstool/crosstool-0.38/buildlogs/
> >
> > i have use the crosstool to try,but i get a
> > "#error "glibc cannot be compiled without optimization"
> > what CFLAGS and CXXFLAGS should to set in demo-mipsel.sh
>
> At least -O I guess, or -O2.
in the mipsel.dat it has define -O2,
i try -O and -O2,both failed
>
> MfG, JBG
>
> --
> Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
> "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
> für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
> ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDqmqAHb1edYOZ4bsRAt4fAJ9KOYR7/2H4kbVWJo077dlt5fVaPQCfdTQT
> 5cKoKa8Pm5eIfvJBPi3kq8c=
> =gfd8
> -----END PGP SIGNATURE-----
>
>
>
Best regards
zhuzhenhua
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-22 2:43 ` zhuzhenhua
2005-12-22 8:57 ` Jan-Benedict Glaw
@ 2005-12-22 9:23 ` Matej Kupljen
2005-12-22 9:30 ` zhuzhenhua
2005-12-22 13:29 ` Stephen P. Becker
2 siblings, 1 reply; 24+ messages in thread
From: Matej Kupljen @ 2005-12-22 9:23 UTC (permalink / raw)
To: zhuzhenhua; +Cc: Jan-Benedict Glaw, linux-mips
Hi
> i have use the crosstool to try,but i get a
> "#error "glibc cannot be compiled without optimization"
> what CFLAGS and CXXFLAGS should to set in demo-mipsel.sh
If you mean mipsel.dat then I have this defined:
KERNELCONFIG=`pwd`/mipsel.config
TARGET=mipsel-linux
TARGET_CFLAGS="-O2 -finline-limit=10000"
GCC_EXTRA_CONFIG="--with-float=soft"
GLIBC_EXTRA_CONFIG="--without-fp"
BINUTILS_EXTRA_CONFIG="--enable-shared"
Note, I have additional patches for "real SF".
I have no flags set in demo-mipsel.sh
BR,
Matej
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-22 9:23 ` Matej Kupljen
@ 2005-12-22 9:30 ` zhuzhenhua
2005-12-22 9:46 ` Matej Kupljen
0 siblings, 1 reply; 24+ messages in thread
From: zhuzhenhua @ 2005-12-22 9:30 UTC (permalink / raw)
To: Matej Kupljen; +Cc: Jan-Benedict Glaw, linux-mips
On 12/22/05, Matej Kupljen <matej.kupljen@ultra.si> wrote:
> Hi
>
> > i have use the crosstool to try,but i get a
> > "#error "glibc cannot be compiled without optimization"
> > what CFLAGS and CXXFLAGS should to set in demo-mipsel.sh
>
> If you mean mipsel.dat then I have this defined:
>
> KERNELCONFIG=`pwd`/mipsel.config
> TARGET=mipsel-linux
> TARGET_CFLAGS="-O2 -finline-limit=10000"
> GCC_EXTRA_CONFIG="--with-float=soft"
> GLIBC_EXTRA_CONFIG="--without-fp"
> BINUTILS_EXTRA_CONFIG="--enable-shared"
>
> Note, I have additional patches for "real SF".
>
> I have no flags set in demo-mipsel.sh
>
> BR,
> Matej
>
>
thanks,
another question: do you change the demo-mipsel.sh to eval another sh or just
keep the
eval `cat mipsel.dat gcc-3.4.2-glibc-2.2.5.dat` sh all.sh --notest
Best Regards
zhuzhenhua
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-22 9:30 ` zhuzhenhua
@ 2005-12-22 9:46 ` Matej Kupljen
0 siblings, 0 replies; 24+ messages in thread
From: Matej Kupljen @ 2005-12-22 9:46 UTC (permalink / raw)
To: zhuzhenhua; +Cc: Jan-Benedict Glaw, linux-mips
Hi
> another question: do you change the demo-mipsel.sh to eval another sh or just
> keep the
> eval `cat mipsel.dat gcc-3.4.2-glibc-2.2.5.dat` sh all.sh --notest
eval `cat mipsel-sf.dat gcc-3.4.4-glibc-2.3.5-hdrs-2.6.11.2.dat`
sh all.sh --notest
(mipsel-sf.dat contains what I have written in a previous mail.)
BR,
Matej
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-22 2:43 ` zhuzhenhua
2005-12-22 8:57 ` Jan-Benedict Glaw
2005-12-22 9:23 ` Matej Kupljen
@ 2005-12-22 13:29 ` Stephen P. Becker
2005-12-23 4:46 ` zhuzhenhua
2 siblings, 1 reply; 24+ messages in thread
From: Stephen P. Becker @ 2005-12-22 13:29 UTC (permalink / raw)
To: zhuzhenhua; +Cc: linux-mips
> i have use the crosstool to try,but i get a
> "#error "glibc cannot be compiled without optimization"
> what CFLAGS and CXXFLAGS should to set in demo-mipsel.sh
>
> BR,
> zhuzhenhua
Do you only want to build kernels, or do you want to build userland
stuff also? You have indicated the former, but not the latter, in which
case you really only need binutils and gcc (a static, C-only bootstrap
gcc works fine for compiling a kernel).
-Steve
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-22 13:29 ` Stephen P. Becker
@ 2005-12-23 4:46 ` zhuzhenhua
0 siblings, 0 replies; 24+ messages in thread
From: zhuzhenhua @ 2005-12-23 4:46 UTC (permalink / raw)
To: Stephen P. Becker; +Cc: linux-mips
On 12/22/05, Stephen P. Becker <geoman@gentoo.org> wrote:
> > i have use the crosstool to try,but i get a
> > "#error "glibc cannot be compiled without optimization"
> > what CFLAGS and CXXFLAGS should to set in demo-mipsel.sh
> >
> > BR,
> > zhuzhenhua
>
>
> Do you only want to build kernels, or do you want to build userland
> stuff also? You have indicated the former, but not the latter, in which
> case you really only need binutils and gcc (a static, C-only bootstrap
> gcc works fine for compiling a kernel).
>
> -Steve
>
sorry to not discribe clearly, i want to build the toolchain both for
kernel nand userland stuff.
and i succeed now using the crosstool with Matej Kupljen's advices.
thanks all!
best regards
zhuzhenhua
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 9:18 ` Jan-Benedict Glaw
2005-12-21 10:02 ` Matej Kupljen
@ 2005-12-21 10:27 ` P. Christeas
1 sibling, 0 replies; 24+ messages in thread
From: P. Christeas @ 2005-12-21 10:27 UTC (permalink / raw)
To: linux-mips; +Cc: Jan-Benedict Glaw
> On Wed, 2005-12-21 17:04:25 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> > sorry to not describle clearly
> > i want to know how to build the cross-compile toolchain
>
> Building a working toolchain for kernel-only work isn't _that_ hard
> (though, if you've never done that, you may find yourself asking
> Google for a month or two...)
>
> As a good starting point, go to http://www.kegel.com/crosstool/ .
>
I have been using the toolchain of OpenWRT. (it builds uClibs rather than
glibc)
However, I am noting some instability of the system and that *could* be
because of gcc. I am reading that you also have some trouble with the
instructions it generates.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 8:51 does someone succeed in making the toolchain for 2.6 kernel? zhuzhenhua
2005-12-21 8:55 ` Jan-Benedict Glaw
@ 2005-12-21 8:57 ` Pete Popov
2005-12-21 9:06 ` zhuzhenhua
1 sibling, 1 reply; 24+ messages in thread
From: Pete Popov @ 2005-12-21 8:57 UTC (permalink / raw)
To: zhuzhenhua; +Cc: 'linux-mips@linux-mips.org'
On Wed, 2005-12-21 at 16:51 +0800, zhuzhenhua wrote:
> i want to compile a 2.6.14 kernel for mips 4kec, does someone compile
> the 2.6 kernel with self-build toolchain?
Quite a few people have, I'm sure.
> how to select the gcc,
> gdb,glibc,linux head and binutils version?
> and where to get the guide doc?
If you have such questions, I would suggest you start by compiling and
booting your kernel with a toolchain and distribution that already
works. Build your own toolchain, if you must, later.
Pete
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 8:57 ` Pete Popov
@ 2005-12-21 9:06 ` zhuzhenhua
2005-12-21 9:22 ` Jan-Benedict Glaw
2005-12-21 9:47 ` Kevin D. Kissell
0 siblings, 2 replies; 24+ messages in thread
From: zhuzhenhua @ 2005-12-21 9:06 UTC (permalink / raw)
To: ppopov; +Cc: linux-mips@linux-mips.org
i am not sure which toolchain can work for the 2.6 kernel
can you suggest one?
thanks
On 12/21/05, Pete Popov <ppopov@embeddedalley.com> wrote:
> On Wed, 2005-12-21 at 16:51 +0800, zhuzhenhua wrote:
> > i want to compile a 2.6.14 kernel for mips 4kec, does someone compile
> > the 2.6 kernel with self-build toolchain?
>
> Quite a few people have, I'm sure.
>
> > how to select the gcc,
> > gdb,glibc,linux head and binutils version?
> > and where to get the guide doc?
>
> If you have such questions, I would suggest you start by compiling and
> booting your kernel with a toolchain and distribution that already
> works. Build your own toolchain, if you must, later.
>
> Pete
>
>
Best regards
zhuzhenhua
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 9:06 ` zhuzhenhua
@ 2005-12-21 9:22 ` Jan-Benedict Glaw
2005-12-21 19:00 ` Ralf Baechle
2005-12-21 9:47 ` Kevin D. Kissell
1 sibling, 1 reply; 24+ messages in thread
From: Jan-Benedict Glaw @ 2005-12-21 9:22 UTC (permalink / raw)
To: linux-mips@linux-mips.org
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
On Wed, 2005-12-21 17:06:36 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> i am not sure which toolchain can work for the 2.6 kernel
> can you suggest one?
That's a hard question... 2.95.x compilers used to work and were quite
fast, but newer GCC's features are incorporated into the kernel
sources so it probably will no longer work. Some 3.x based GCC should
probably work.
I am using GCC and binutils right from CVS/SVN in their HEAD
revisions, but not for MIPS. Works for me.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 9:22 ` Jan-Benedict Glaw
@ 2005-12-21 19:00 ` Ralf Baechle
2005-12-21 20:29 ` Jan-Benedict Glaw
0 siblings, 1 reply; 24+ messages in thread
From: Ralf Baechle @ 2005-12-21 19:00 UTC (permalink / raw)
To: linux-mips@linux-mips.org
On Wed, Dec 21, 2005 at 10:22:08AM +0100, Jan-Benedict Glaw wrote:
> On Wed, 2005-12-21 17:06:36 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> > i am not sure which toolchain can work for the 2.6 kernel
> > can you suggest one?
>
> That's a hard question... 2.95.x compilers used to work and were quite
> fast, but newer GCC's features are incorporated into the kernel
> sources so it probably will no longer work.
There are still users building the kernel with gcc 2.95 and 2.96
successfully.
Ralf
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
2005-12-21 19:00 ` Ralf Baechle
@ 2005-12-21 20:29 ` Jan-Benedict Glaw
0 siblings, 0 replies; 24+ messages in thread
From: Jan-Benedict Glaw @ 2005-12-21 20:29 UTC (permalink / raw)
To: linux-mips@linux-mips.org
[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]
On Wed, 2005-12-21 20:00:14 +0100, Ralf Baechle <ralf@linux-mips.org> wrote:
> On Wed, Dec 21, 2005 at 10:22:08AM +0100, Jan-Benedict Glaw wrote:
> > On Wed, 2005-12-21 17:06:36 +0800, zhuzhenhua <zzh.hust@gmail.com> wrote:
> > > i am not sure which toolchain can work for the 2.6 kernel
> > > can you suggest one?
> >
> > That's a hard question... 2.95.x compilers used to work and were quite
> > fast, but newer GCC's features are incorporated into the kernel
> > sources so it probably will no longer work.
>
> There are still users building the kernel with gcc 2.95 and 2.96
> successfully.
I guess evolution will get'em all... And that of course depends on how
much you take part in it. Only compiling a minimum set of drivers will
probably help you out for some time :->
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: does someone succeed in making the toolchain for 2.6 kernel?
@ 2005-12-21 9:47 ` Kevin D. Kissell
0 siblings, 0 replies; 24+ messages in thread
From: Kevin D. Kissell @ 2005-12-21 9:47 UTC (permalink / raw)
To: zhuzhenhua, ppopov; +Cc: linux-mips
I've been using the 6.02 MIPS SDE for my 2.6 kernel builds. I'm not
100% certain that it's exactly the same one that you'll find on the page at
http://www.linux-mips.org/wiki/MIPS_SDE_Installation
but it's close enough where I'd suggest at least giving it a try.
Regards,
Kevin K.
----- Original Message -----
From: "zhuzhenhua" <zzh.hust@gmail.com>
To: <ppopov@embeddedalley.com>
Cc: <linux-mips@linux-mips.org>
Sent: Wednesday, December 21, 2005 10:06 AM
Subject: Re: does someone succeed in making the toolchain for 2.6 kernel?
> i am not sure which toolchain can work for the 2.6 kernel
> can you suggest one?
> thanks
>
> On 12/21/05, Pete Popov <ppopov@embeddedalley.com> wrote:
> > On Wed, 2005-12-21 at 16:51 +0800, zhuzhenhua wrote:
> > > i want to compile a 2.6.14 kernel for mips 4kec, does someone compile
> > > the 2.6 kernel with self-build toolchain?
> >
> > Quite a few people have, I'm sure.
> >
> > > how to select the gcc,
> > > gdb,glibc,linux head and binutils version?
> > > and where to get the guide doc?
> >
> > If you have such questions, I would suggest you start by compiling and
> > booting your kernel with a toolchain and distribution that already
> > works. Build your own toolchain, if you must, later.
> >
> > Pete
> >
> >
>
> Best regards
> zhuzhenhua
>
>
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: does someone succeed in making the toolchain for 2.6 kernel?
@ 2005-12-21 9:47 ` Kevin D. Kissell
0 siblings, 0 replies; 24+ messages in thread
From: Kevin D. Kissell @ 2005-12-21 9:47 UTC (permalink / raw)
To: zhuzhenhua, ppopov; +Cc: linux-mips
I've been using the 6.02 MIPS SDE for my 2.6 kernel builds. I'm not
100% certain that it's exactly the same one that you'll find on the page at
http://www.linux-mips.org/wiki/MIPS_SDE_Installation
but it's close enough where I'd suggest at least giving it a try.
Regards,
Kevin K.
----- Original Message -----
From: "zhuzhenhua" <zzh.hust@gmail.com>
To: <ppopov@embeddedalley.com>
Cc: <linux-mips@linux-mips.org>
Sent: Wednesday, December 21, 2005 10:06 AM
Subject: Re: does someone succeed in making the toolchain for 2.6 kernel?
> i am not sure which toolchain can work for the 2.6 kernel
> can you suggest one?
> thanks
>
> On 12/21/05, Pete Popov <ppopov@embeddedalley.com> wrote:
> > On Wed, 2005-12-21 at 16:51 +0800, zhuzhenhua wrote:
> > > i want to compile a 2.6.14 kernel for mips 4kec, does someone compile
> > > the 2.6 kernel with self-build toolchain?
> >
> > Quite a few people have, I'm sure.
> >
> > > how to select the gcc,
> > > gdb,glibc,linux head and binutils version?
> > > and where to get the guide doc?
> >
> > If you have such questions, I would suggest you start by compiling and
> > booting your kernel with a toolchain and distribution that already
> > works. Build your own toolchain, if you must, later.
> >
> > Pete
> >
> >
>
> Best regards
> zhuzhenhua
>
>
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2005-12-23 4:45 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-21 8:51 does someone succeed in making the toolchain for 2.6 kernel? zhuzhenhua
2005-12-21 8:55 ` Jan-Benedict Glaw
2005-12-21 9:04 ` zhuzhenhua
2005-12-21 9:18 ` Jan-Benedict Glaw
2005-12-21 10:02 ` Matej Kupljen
2005-12-21 10:06 ` Jan-Benedict Glaw
2005-12-21 10:32 ` Matej Kupljen
2005-12-21 10:37 ` zhuzhenhua
2005-12-22 2:43 ` zhuzhenhua
2005-12-22 8:57 ` Jan-Benedict Glaw
2005-12-22 9:05 ` zhuzhenhua
2005-12-22 9:23 ` Matej Kupljen
2005-12-22 9:30 ` zhuzhenhua
2005-12-22 9:46 ` Matej Kupljen
2005-12-22 13:29 ` Stephen P. Becker
2005-12-23 4:46 ` zhuzhenhua
2005-12-21 10:27 ` P. Christeas
2005-12-21 8:57 ` Pete Popov
2005-12-21 9:06 ` zhuzhenhua
2005-12-21 9:22 ` Jan-Benedict Glaw
2005-12-21 19:00 ` Ralf Baechle
2005-12-21 20:29 ` Jan-Benedict Glaw
2005-12-21 9:47 ` Kevin D. Kissell
2005-12-21 9:47 ` Kevin D. Kissell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.